ssh: connect to host localhost port 22: Connection refused ------------------------------------------------------------------------------------------------------------ Error: ssh: connect to host localhost port 22: Connection refused Solution: install openssh-server service ssh start Ref: http://www.cyberciti.biz/faq/howto-restart-ssh/ ------------------------------------------------------------------------------------------------------------ Secure way of doing SSH: SSH with Keys ------------------------------------------------------------------------------------------------------------ http://sshkeychain.sourceforge.net/mirrors/SSH-with-Keys-HOWTO/SSH-with-Keys-HOWTO-4.html ------------------------------------------------------------------------------------------------------------ How to set proxy in Ubuntu terminal ------------------------------------------------------------------------------------------------------------ http://blog.rahuljain