1
I'm using VirtualBox on Windows 8.1 (host) to run Ubuntu 13.10 as a guest.
Yesterday, I was able to log in using SSH/SFTP/FTP from the host to the guest without any problems, it was really fast.
A few days ago, I uninstalled some apps and installed a few updates on windows (the host) and I am now having troubles when I try to connect by SSH or FTP. The first request takes about 5 or 10 seconds. Any idea why this would be happening?
I've tried a few things already: - Re-install VirtualBox - Disable Firewall on both, host and guest. - Disable Dinwdows Defender.
Using Filezilla in Debug mode:
Status: Connecting to files.ls...
Trace: Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
Response: fzSftp started
Trace: CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ConnectSend()
Command: open "marco@files.ls" 22
Trace: Looking up host "files.ls"
Trace: Connecting to 192.168.0.105 port 22
Trace: Server version: SSH-2.0-OpenSSH_6.2p2 Ubuntu-6ubuntu0.1
Trace: Using SSH protocol version 2
Trace: We claim version: SSH-2.0-PuTTY_Local:_Aug__7_2013_21:25:06
Trace: Doing Diffie-Hellman group exchange
Trace: Doing Diffie-Hellman key exchange with hash SHA-256
Trace: Host key fingerprint is:
Trace: ssh-rsa 2048 a6:28:76:90:89:f5:94:21:a1:44:f7:ac:53:d1:6d:07
Trace: Initialised AES-256 SDCTR client->server encryption
Trace: Initialised HMAC-SHA1 client->server MAC algorithm
Trace: Initialised AES-256 SDCTR server->client encryption
Trace: Initialised HMAC-SHA1 server->client MAC algorithm
Command: Pass: ********
Trace: Sent password
Trace: Access granted
Trace: Opened channel for session
Trace: Started a shell/command
Status: Connected to files.ls
Trace: CSftpControlSocket::ConnectParseResponse()
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Trace: CFileZillaEnginePrivate::ResetOperation(0)
Status: Retrieving directory listing...
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ChangeDirSend()
Command: pwd
Response: Current directory is: "/home/marco"
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Trace: CSftpControlSocket::ParseSubcommandResult(0)
Trace: CSftpControlSocket::ListSubcommandResult()
Trace: state = 1
Trace: CSftpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Status: Directory listing successful
Trace: CFileZillaEnginePrivate::ResetOperation(0)
It gets stuck at this line for about 3 seconds; sometimes 5...
Trace: Initialised HMAC-SHA1 server->client MAC algorithm
Thanks.
You can use
-vvoption in ssh, which will show you the background processes while doing ssh. You will get to know the cause of slower performance, by looking at where the connection attempt going slower! Example:ssh -vv user@10.3.2.1– Uvais Ibrahim – 2014-02-13T04:34:26.530@UvaisIbrahim thank you for checking in. I edited the question and included a log. I hope it helps. – Marco Florian – 2014-02-20T04:40:51.643
related to http://stackoverflow.com/questions/5906441/how-to-ssh-to-a-virtualbox-ubuntu-guest-externally-through-a-windows-host
– Kevin Panko – 2014-02-24T22:44:56.603