I have a problem with sftp connection via ssh tunnel and use of Nautilus to watch the file inside. If I launch by terminal the command
ssh -t -X BASTIONHOST sftp SERVER
he ask me the password of BastionHost and then the password of server. And so, the login was successfully.
How can I do the same thing from Nautilus (Ubuntu 20.04)?
I've tried some configuration adding ./ssh/config
Host bastion
Hostname bastionhost.host.ip
User userbastion
Port 22
Host server
Hostname serverhost.host.ip
User userserver
ProxyCommand ssh bastion
but never works. If I put in Nautilus command "sftp://server", he ask me the Bastion Host credential but nothing more, connection end cause timeout. How can i do?