WinSCP connect to Ubuntu. Access Denied

CLoren picture CLoren · Jan 7, 2014 · Viewed 49.5k times · Source

I installed Ubuntu13_desktop in VMware(VMware® Workstation 7.1.6) based with Windows 7. Now I want to connect to Ubuntu from Windows 7. Set the WMware as Host-only. Installed WinSCP in Windows, configured

protocol: SFTP;
Host name: ubuntu;
Port: 22;
UserName: oracle;
Password: ***.

Clicked Login, it showed

Searching for host...
Connection to host...
Authenticating...
Using username "oracle"
Authenticating with pre-entered password.
Access denied.
Access denied.

I can succeed to ping Ubuntu by cmd.

Can anyone help me to let me access Ubuntu by WinSCP? Thanks in advance.

Answer

Satyam Singh picture Satyam Singh · Jan 7, 2014

Well the port 22 is for SSH service. So you can probably try installing openssh-server in your ubuntu by typing

sudo apt-get install openssh-server

and then try connecting with the following details:

protocol: SSH

hostname: [IP Address of the computer]

port: 22

username: [username]

password: [password]

Hopefully this should work.