Jump to content
×
×
  • Create New...
  • 0

Connect via WinSCP to localhost


blvck

Question

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

Localhost is only for your pc. VM is on your pc, but have a different ip. With winscp connect to vm's ip. If the net of your vm is nat you need to create a port redirect on porn 22. If it's a bridge you can connect without problem.

Link to comment
  • 0
  • Premium

ee /etc/ssh/sshd_config

Look for

#PermitRootLogin no

Change into

PermitRootLogin yes

Look for

#Port 22

Change into

Port 22

Press ESC and 2 times ENTER to close and save the file.

Restart sshd using:

service sshd restart

 

Do ifconfig to find the ip adress dhcp provided you.

under em0, after inet:  you will see your ip.

Example print. Ip from mine is 192.168.205.130, yours will be at same location.

https://i.tlthings.net/image/J5O

Enter that ip+user (root?) + password and with port 22 on winscp.

Done.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.