If it ever occurred to you that a changed has been done to your ssh config particularly the default port of 22 into something else. Then you need to implement password-less ssh. Then you got this:
ssh: connect to host 121.97.35.82 port 22: Connection refused
Solution:
ssh-copy-id -i file_path "username@some_ipaddress -p port_number"
Cheers!
This blog is all about life of being a systems administrator, it highlights the achievements and hurdles of managing small to large systems running on Unix/Linux platforms.
Thursday, August 15, 2013
Monday, August 12, 2013
Secure Copy to a Different Port
At times you need to change the order in which services like ssh run on its default port for security reasons. This in effect will impact your scp as well. Here is the syntax for it.
$ scp -P port_number /some_path_to_a_file @Ip_address
Cheers!
$ scp -P port_number
Cheers!
Sunday, August 11, 2013
Password Generator
If in any case you needed to create phrases of passwords. This is the likely key: http://goo.gl/aJD7Kv
Subscribe to:
Posts (Atom)