Hi All,
Having a bit of an issue logging in remotely to a pi running Raspbian Jessie Lite, I can access it fine via the local network, but when I try remotely I get 'access denied'. But...I can log in if I change the external port on the router (so port 120 resolves to port 22 internally.
This was sort of fine, but I'm trying to setup ssh keys from a pi on my local network to the remote pi I'm having issues with in the above paragraph. Using the 'cat' command to send the keys made on my pi, I am required to log in to the remote one, when I do I get the 'access denied' error.
Now I'm pretty sure that tomorrow when I take the pi out and try it later on at home that I will be able to send the keys over the lan but the question remains, why do I get access denied when sending stuff remotely? Is it to do with how I'm port forwarding? I haven't set any security stuff up in the pi as far as I know.
I hope some of that makes sense, let me know if there is any more info I can give!
Having a bit of an issue logging in remotely to a pi running Raspbian Jessie Lite, I can access it fine via the local network, but when I try remotely I get 'access denied'. But...I can log in if I change the external port on the router (so port 120 resolves to port 22 internally.
This was sort of fine, but I'm trying to setup ssh keys from a pi on my local network to the remote pi I'm having issues with in the above paragraph. Using the 'cat' command to send the keys made on my pi, I am required to log in to the remote one, when I do I get the 'access denied' error.
Now I'm pretty sure that tomorrow when I take the pi out and try it later on at home that I will be able to send the keys over the lan but the question remains, why do I get access denied when sending stuff remotely? Is it to do with how I'm port forwarding? I haven't set any security stuff up in the pi as far as I know.
I hope some of that makes sense, let me know if there is any more info I can give!