2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?