我想将本地文件从一台流浪机器复制到我的localhost
,但收到一条错误消息:
ssh:连接到主机
127.0.0.1
端口22
:连接被拒绝.
[user@localhost ceil]$ scp -p 2222 vagrant@127.0.0.1:/home/vagrant/devstack/local.conf .
cp: cannot stat ‘2222’: No such file or directory
ssh: connect to host 127.0.0.1 port 22: Connection refused
我也试着用localhost
,但还是有同样的错误.