LoginSignup
2
1

More than 5 years have passed since last update.

cygwin64からssh出来ないとき

Posted at

MS Windows環境でcygwinを使う時。

cygwinの64-Bit追加でインストールした場合にsshがエラーになりました。

$ ssh 192.168.0.1
Pseudo-terminal will not be allocated because stdin is not a terminal.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

実は32-Bit環境にパスが通っている可能性があります。
* 32-Bit C:\cygwin
* 64-Bit C:\cygwin64
とかでインストールした場合
64-Bitの環境で
/cygdrive/c/cygwin/bin
にパスが通っていて
sshが/cygdrive/c/cygwin/bin/sshかもしれません

$ /usr/bin/ssh 192.168.0.1

で確認してPATHを整理して解消しました。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1