I have set up ssh server on my Raspberry pi and forwarded 22 port on router to it. I can connect to it via local network just fine, my friend could also connect to it from his home. However, when I try
ssh email@example.com -v
my.router.ip.address is external address of my router, I get
OpenSSH_6.7p1 Ubuntu-5ubuntu1.3, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to XX.XX.XX.XX [XX.XX.XX.XX] port 22. debug1: Connection established. debug1: identity file /home/julka/.ssh/id_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /home/julka/.ssh/id_rsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1.3
The last line hangs untill I Ctrl+C it, independently if I allow password authentication or not. My
id_rsa id_rsa.pub known_hosts
/etc/ssh/ssh_config (no user config)
Host * ForwardX11Trusted yes RSAAuthentication yes PasswordAuthentication yes IdentityFile ~/.ssh/id_rsa HashKnownHosts yes
What of the most basic things am I missing that I cannot ssh into my Raspi?
I even tried creating
julka account on my ssh server as per @darent suggestion.
/etc/ssh/sshd_config/ (commented lines skipped):
IgnoreRhosts yes RhostsRSAAuthentication no HostbasedAuthentication no PermitEmptyPasswords no ChallengeResponseAuthentication no PasswordAuthentication no X11Forwarding yes X11DisplayOffset 10 PrintMotd no PrintLastLog yes TCPKeepAlive yes AcceptEnv LANG LC_* Subsystem sftp /usr/lib/openssh/sftp-server