teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

タイトル変更

2020/04/03 05:17

投稿

退会済みユーザー
title CHANGED
@@ -1,1 +1,1 @@
1
- XSERVERへのSSH接続ができなくなった。
1
+ XSERVERへのSSH接続ができなくなった。(Windows10)
body CHANGED
File without changes

3

デバッグ内容変更

2020/04/03 05:17

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -26,11 +26,11 @@
26
26
  鍵を作り替えた。パスフレーズを再度確認したが結果は変わらなかった。
27
27
 
28
28
  doda様
29
- ssh -v -l userID -i ~/.ssh/id_rsa sample.xsrv.jp -p 10022 にてデバグをしました。
29
+ ssh -v -l serverID -i ~/.ssh/id_rsa serverID.xsrv.jp -p 10022 にてデバグをしました。
30
30
  結果は以下の通りでした。
31
31
 
32
32
 
33
- debug1: Connecting to userID.xsrv.jp [183.181.88.**] port 10022.
33
+ debug1: Connecting to serverID.xsrv.jp [183.181.88.**] port 10022.
34
34
  debug1: Connection established.
35
35
  debug1: identity file C:\Users\user/.ssh/id_rsa type 0
36
36
  debug1: key_load_public: No such file or directory
@@ -38,7 +38,7 @@
38
38
  debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.7
39
39
  debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
40
40
  debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
41
- debug1: Authenticating to userID.xsrv.jp:10022 as 'glowforward'
41
+ debug1: Authenticating to serverID.xsrv.jp:10022 as 'glowforward'
42
42
  debug1: SSH2_MSG_KEXINIT sent
43
43
  debug1: SSH2_MSG_KEXINIT received
44
44
  debug1: kex: algorithm: curve25519-sha256
@@ -47,7 +47,7 @@
47
47
  debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
48
48
  debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
49
49
  debug1: Server host key: ecdsa-sha2-nistp256 SHA256:V0GmZVuUlP6tQw5MYbGelfcq+IQwq/6+HnH1OPAcaLo
50
- debug1: Host '[userID.xsrv.jp]:10022' is known and matches the ECDSA host key.
50
+ debug1: Host '[serverID.xsrv.jp]:10022' is known and matches the ECDSA host key.
51
51
  debug1: Found key in C:\Users\user/.ssh/known_hosts:1
52
52
  debug1: rekey after 134217728 blocks
53
53
  debug1: SSH2_MSG_NEWKEYS sent
@@ -63,7 +63,8 @@
63
63
  debug1: Offering public key: RSA SHA256:FOvG8QMCC1TlbABQrKTQ8f3tCFANbkzK7fqVYiProes C:\Users\user/.ssh/id_rsa
64
64
  debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
65
65
  debug1: No more authentication methods to try.
66
- userID@sample.xsrv.jp: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
66
+ serverID@sample.xsrv.jp: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
67
67
 
68
+ *個人のサーバーIDをserverIDに変更して記載しております。
68
69
 
69
70
  ### 補足情報(FW/ツールのバージョンなど)

2

デバッグ結果追記しました。

2020/04/03 03:06

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -25,4 +25,45 @@
25
25
 
26
26
  鍵を作り替えた。パスフレーズを再度確認したが結果は変わらなかった。
27
27
 
28
+ doda様
29
+ ssh -v -l userID -i ~/.ssh/id_rsa sample.xsrv.jp -p 10022 にてデバグをしました。
30
+ 結果は以下の通りでした。
31
+
32
+
33
+ debug1: Connecting to userID.xsrv.jp [183.181.88.**] port 10022.
34
+ debug1: Connection established.
35
+ debug1: identity file C:\Users\user/.ssh/id_rsa type 0
36
+ debug1: key_load_public: No such file or directory
37
+ debug1: identity file C:\Users\user/.ssh/id_rsa-cert type -1
38
+ debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.7
39
+ debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
40
+ debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
41
+ debug1: Authenticating to userID.xsrv.jp:10022 as 'glowforward'
42
+ debug1: SSH2_MSG_KEXINIT sent
43
+ debug1: SSH2_MSG_KEXINIT received
44
+ debug1: kex: algorithm: curve25519-sha256
45
+ debug1: kex: host key algorithm: ecdsa-sha2-nistp256
46
+ debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
47
+ debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
48
+ debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
49
+ debug1: Server host key: ecdsa-sha2-nistp256 SHA256:V0GmZVuUlP6tQw5MYbGelfcq+IQwq/6+HnH1OPAcaLo
50
+ debug1: Host '[userID.xsrv.jp]:10022' is known and matches the ECDSA host key.
51
+ debug1: Found key in C:\Users\user/.ssh/known_hosts:1
52
+ debug1: rekey after 134217728 blocks
53
+ debug1: SSH2_MSG_NEWKEYS sent
54
+ debug1: expecting SSH2_MSG_NEWKEYS
55
+ debug1: SSH2_MSG_NEWKEYS received
56
+ debug1: rekey after 134217728 blocks
57
+ debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory
58
+ debug1: SSH2_MSG_EXT_INFO received
59
+ debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
60
+ debug1: SSH2_MSG_SERVICE_ACCEPT received
61
+ debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
62
+ debug1: Next authentication method: publickey
63
+ debug1: Offering public key: RSA SHA256:FOvG8QMCC1TlbABQrKTQ8f3tCFANbkzK7fqVYiProes C:\Users\user/.ssh/id_rsa
64
+ debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
65
+ debug1: No more authentication methods to try.
66
+ userID@sample.xsrv.jp: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
67
+
68
+
28
69
  ### 補足情報(FW/ツールのバージョンなど)

1

XSERVERの表記に変更

2020/04/02 11:51

投稿

退会済みユーザー
title CHANGED
@@ -1,1 +1,1 @@
1
- XサーバーへのSSH接続ができなくなった。
1
+ XSERVERへのSSH接続ができなくなった。
body CHANGED
@@ -1,7 +1,7 @@
1
- ###Xサーバーに接続できていたが、「Permission denied (publickey,gssapi-keyex,gssapi-with-mic).のエラー」がでるようになり、接続できなくなった。
1
+ ###XSERVERに接続できていたが、「Permission denied (publickey,gssapi-keyex,gssapi-with-mic).のエラー」がでるようになり、接続できなくなった。
2
2
 
3
3
  ここに質問の内容を詳しく書いてください。
4
- **xサーバーにGitを導入し、pushで更新できるようセットアップにトライしていたところ、サーバーにSSH接続できなくなりました。**
4
+ **XSERVERにGitを導入し、pushで更新できるようセットアップにトライしていたところ、サーバーにSSH接続できなくなりました。**
5
5
  <環境>
6
6
  windows 10 home
7
7
  Powershell, git bash, Tera Term