揮発性のメモ2

http://d.hatena.ne.jp/iww/

Debian jessie にテラタームで接続できない

Debian jessie にTeraTermssh接続しようとしたら unknown Encrypt algorithm とかいうエラーが出て接続できない。

秘伝のタレのようなすごい古いiniファイルをずっと使っているので、ssh接続時にすごい古いアルゴリズムしか使わないようになってたのが原因だった。

新規インストールで作成されるTERATERM.INIから、TTSSHの暗号アルゴリズム使う順序のところを丸コピーして 事なきを得た。

[TTSSH]
; SSH enabled flag (1=enabled 0=disabled)
Enabled=1

; default login username (setup to authentication dialog)
DefaultUserName=
DefaultForwarding=

; Cipher algorithm order
;  2...DES(SSH1),    3...3DES(SSH1),   6...Blowfish(SSH1), 7...3DES-CBC,
;  8...AES128-CBC,   9...AES192-CBC,   :...AES256-CBC,     ;...Blowfish-CBC,
;  <...AES128-CTR,   =...AES192-CTR,   >...AES256-CTR,     ?...Arcfour,
;  @...Arcfour128,   A...Arcfour256,   B...CAST128-CBC,    C...3DES-CTR,
;  D...Blowfish-CTR, E...CAST128-CTR,  F...Camellia128-CBC,
;  G...Camellia192-CBC, H...Camellia256-CBC, I...Camellia128-CTR,
;  J...Camellia192-CTR, K...Camellia256-CTR
;  0...Ciphers below this line are disabled.
CipherOrder=K>H:J=G9I<F8C7D;A@?EB3062

; KEX algorithm order(SSH2)
;  0...diffie-hellman-group1-sha1
;  1...diffie-hellman-group14-sha1
;  2...diffie-hellman-group-exchange-sha1
;  3...diffie-hellman-group-exchange-sha256
;  4...ecdh-sha2-nistp256
;  5...ecdh-sha2-nistp384
;  6...ecdh-sha2-nistp521
;  7...KEXs below this line are disabled.
KexOrder=56743210

; Host Key algorithm order(SSH2)
;  2...RSA
;  3...DSA
;  4...ecdh-sha2-nistp256
;  5...ecdh-sha2-nistp384
;  6...ecdh-sha2-nistp521
;  7...ED25519
;  0...below this line are disabled.
HostKeyOrder=4567230

; MAC algorithm order(SSH2)
;  1...hmac-sha1
;  2...hmac-md5
;  3...hmac-sha1-96
;  4...hmac-md5-96
;  5...hmac-ripemd160@openssh.com
;  6...hmac-sha2-256
;  8...hmac-sha2-512
;  0...below this line are disabled.
MacOrder=86152034

; Compression algorithm order(SSH2)
;  1...none
;  2...zlib
;  3...zlib@openssh.com(Delayed Compression)
;  0...below this line are disabled.
CompOrder=3210
; packet compression level (0=none)
Compression=0