How do I know if my server has SSH? Is there anyway to test?
feedback
|
migrated from stackoverflow.com Jul 4 '11 at 14:55
This question came from our site for professional and enthusiast programmers.
|
For ssh client : ssh google.com; if it says command not found, you havent got it installed. For ssh server : ssh localhost; if it doesn't do anything you haven't got ssh server. If you are running debian/ubuntu :
| |||||||||||||
feedback
|
|
Absence of a public key is by no means the only way the ssh command can fail, so this is an approximation at best; it could be sufficient, though.
Oh, and being a bit more specific would be great. | |||
|
feedback
|
|
Another note:
The first line should be plaintext telling you about the SSH version. Also nmap can do | |||
feedback
|
|
| |||
|
feedback
|