amazon web services - SSH - Match Address removed? -


i delighted find out ssh config files allow specify configurations match condition, including address hoping. unfortunately, it's not working.

my first red flag vim not highlighting address host , user conditions. then, when tested configuration:

match address x.x.x.x     passwordauthentication yes 

with shellinabox, got error:

/home/user/.ssh/config line 1: bad match condition 

i searched around documentation , web articles mentions of address condition. of sources found years old making me think removed recently, except this article posted on 2 months ago. obviously, article written old/bad info, still know why address bad condition, have yet find working alternative.

if related issue: i'm working aws ec2 instance running ubuntu 16.04.

match address x.x.x.x

match address usable in sshd_config (server). ssh_config (client config) has match host or host keyword


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -