Answer the question
In order to leave comments, you need to log in
How to connect to local server via SFTP vagrant debian?
There is a local debian machine, I run it through Vagrant (VirtualBox).
Everything is fine, I can climb the server, etc. via console.
And how to connect to your local server via SFTP?
I found this article in vagrant - Vagrant Push FTP & SFTP Strategy
Where, as I understand it, an application is created in the configuration file
config.push.define "ftp" do |push|
push.host = "ftp.example.com"
push.username = "username"
push.password = "password"
end
Answer the question
In order to leave comments, you need to log in
ip: 127.0.0.1
port: 2222
Protocol: sftp
Well, go as root
But writes Unable to connect to the server,
Although I started the server and sit quietly in the console.
It is necessary to use the IP that is assigned to the virtual machine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question