kuthulux / gnome-connection-manager

repository for gnome-connection-manager from kuthulu.com/gcm
Other
66 stars 27 forks source link

Not getting prompt to add key when using password authentication #48

Closed big4test4 closed 3 years ago

big4test4 commented 3 years ago

we are not getting the prompt to add key when we are adding a new server with password authentication, but when we use private key authentication it shows the prompt.

importos commented 3 years ago

in /usr/share/gnome-connection-manager/ssh.expect in line 46 replace this : "Are you sure you want to continue connecting (yes/no)?" { send "yes\n"; exp_continue; }

by :

      -re "Are you sure you want to continue connecting (yes/no.*)?" { send "yes\n"; exp_continue; }

thanks

majidshirazy commented 3 years ago

in /usr/share/gnome-connection-manager/ssh.expect in line 46 replace this : "Are you sure you want to continue connecting (yes/no)?" { send "yes\n"; exp_continue; }

by :

      -re "Are you sure you want to continue connecting (yes/no.*)?" { send "yes\n"; exp_continue; }

thanks

Well done Problem solved Thanks

kuthulux commented 3 years ago

fixed by 21661bd26914019d4094f8b166f808b76d9d0469