Hello everybdy
im blocked with the configuration of autossh, i m trying to connect on my Lan turtle from my ftpserveur ((my nas is ftpserver)) to my turtle, i have an massage like this :
first, you have to know
i haver ever configured keymanager and create key, copey key to my nas ( who is ftpserver)
i have ever configured autossh and my remote port is the number 2222 and my local port is 22
my configuration autossh is :
[..]
option poll '600'
option ssh '-i /root/ .ssh/id_rsa -N -T -R 2222:localhost:22 myuser@IpadressePublicOfMyRooter -p 2222'
[....]
well i connect to my server nas with root utilisateur
after that i try to onnect on my Lan Turtle with : ssh root@localhost -p 2222
but i have a message error like this : ssh : connect to host localhost port 2222 : connection refused
have you had this problem ?
have you got an idea ?
thx