You are not logged in.
Pages: 1
I'm playing around with ssh, and have it running on one machine. I tried changing the port that it listens on, and can get to that via putty on a windows machine. What I'm having trouble with is the command line syntax to ssh to the host from another linux machine.
How do I specify this alternate port on the command line?
Offline
What happened to your man ssh ?
Try ssh -l your_user_login_name -p remote_host_port host.address.blah
Offline
Hi,
I believe you need the -p flag, from the man page :
-p port
Port to connect to on the remote host. This can be specified on
a per-host basis in the configuration file.
Jon
Offline
I actually did read at least part of the man page on this one, but sometimes (as in this case) I don't find man pages at all helpful; it's like reading Greek (assuming you don't know how to read Greek, I suppose) :oops:
I'll give your suggestions a try!
I'd really like to see something like man pages, but with examples to show what some of this stuff means or does, but I haven't found that resource yet.
Offline
it would be something like
ssh user@ipaddress -p portnumber
You can always change the port in the ssh_config though. Thats how I rock.
Offline
Pages: 1