vagrant ssh freeze @ssh subprocess exit 255 on hyper-v

81 views
Skip to first unread message

yosuke....@uniadex.co.jp

unread,
Jan 3, 2018, 8:37:54 PM1/3/18
to Vagrant
hi there.

I try to vagrant up/ssh on msys2/windows 10.

cf. msys2(administrator privilege)

box was hand maid.
vagrant up or halt was success (that means secure key inserted, and smb shared folder mount has succeed).

but, ssh subprocess has exit 255.

following log is a execution of result of "vagrant ssh --debug"

// log
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
 INFO subprocess: Starting process: ["C:\\HashiCorp\\Vagrant\\embedded\\usr\\bin/ssh.EXE"]
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr: usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-E log_file] [-e escape_char]
           [-F configfile] [-I pkcs11] [-i identity_file]
           [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec]
           [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address]
           [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 255
 INFO ssh: Invoking SSH: ssh ["vag...@10.4.12.160", "-p", "22", "-o", "LogLevel=FATAL", "-o", "Compression=yes", "-o", "DSAAuthentication=yes", "-o", "IdentitiesOnly=yes", "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null", "-o", "IdentityFile=\"C:/msys64/home/ytakuma2/bd_test/.vagrant/machines/default/hyperv/private_key\""]
DEBUG safe_exec: Converting command and arguments to common UTF-8 encoding for exec.
DEBUG safe_exec: Command: `"ssh"` Args: `["vag...@10.4.12.160", "-p", "22", "-o", "LogLevel=FATAL", "-o", "Compression=yes", "-o", "DSAAuthentication=yes", "-o", "IdentitiesOnly=yes", "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null", "-o", "IdentityFile=\"C:/msys64/home/ytakuma2/bd_test/.vagrant/machines/default/hyperv/private_key\""]`
DEBUG safe_exec: Converted - Command: `"ssh"` Args: `["vag...@10.4.12.160", "-p", "22", "-o", "LogLevel=FATAL", "-o", "Compression=yes", "-o", "DSAAuthentication=yes", "-o", "IdentitiesOnly=yes", "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null", "-o", "IdentityFile=\"C:/msys64/home/ytakuma2/bd_test/.vagrant/machines/default/hyperv/private_key\""]`
// log

and freeze.

it seems to me that ssh subprocess arguments are wrong.

how can i resolve it?

yosuke....@uniadex.co.jp

unread,
Jan 3, 2018, 9:40:00 PM1/3/18
to Vagrant
I'm so sorry.

vagrant version is 2.0.1
Reply all
Reply to author
Forward
0 new messages