/system ssh hangs

/system ssh doesn’t seem to work.

  1. /system ssh localhost user=knowngooduser

prompts me for a password, but rejects knowngooduser’s password (which works with the windows UI).

  1. /system ssh [ip address of unix box] user=remoteusername

just hangs. After about 30 seconds, it returns with “Welcome back!”, which it also does in response to ctrl-C. I can see TCP packets flowing to port 22 on the other end up to the hang. I don’t see anything from sshd on the other end about those attempts.

The ssh server in the routerbox works just fine, including port forwarding, so I can sort of make do without for now, but it would be nice to have a functional ssh client.

Mine works. V4.16. This is to a PCLinuxOS box from a RB433AH:

[admin@test] /system> ssh xx.xx.58.118 user=tim
tim@xx.xx.58.118's password:
[tim@localhost ~]$

Insure your computer firewall is open to port 22 and you have the ssh daemon running.

I’m using 5.4. I’m really, really, really, really sure sshd on the target machines are working and reachable.

I can run tcpdump on the target machines and watch a whole lot of traffic going back and forth up to the point where it hangs, then times out.

The machines in question are macs running the latest Snow Leopard and a FreeBSD machine running 8.2-RELEASE. And, as I mentioned, I can’t even correctly connect to localhost with knowngooduser.

I found the steps to import a private key pair, and using the keypair works. But password authentication does not. I also, seemingly, cannot ssh to a dns name that is IPv6 only. I can, however, ssh to an IPv6 literal.