0

Hi i actually got stuck , i'm trying to connect to a raspi with ssh with a bastion

i use a reverse ssh from the raspi to the bastion with this command

/usr/bin/autossh -o ServerAliveInterval=60 -NR 20054:localhost:22 ec2-user@ec2-35-172-129-227.compute-1.amazonaws.com

and i want to connect with the following command

ssh -v -i path2keyBastion -J user@bastion:22  -i path2keyPI pi@raspberrypidev:20054

the console return me

user@bastion: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
kex_exchange_identification: Connection closed by remote host

but the key i use is the right , i got no message from the rasp

if you can help i would appreciate it

0 Answers0