Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c
Parent Directory
| Revision Log
| Patch
| 1511 |
// |
// |
| 1512 |
pvar->ssh2_autologin = 1; // for SSH2 (2004.11.30 yutaka) |
pvar->ssh2_autologin = 1; // for SSH2 (2004.11.30 yutaka) |
| 1513 |
|
|
| 1514 |
if (MATCH_STR(option + 5, "=password") == 0) { // パスワード/keyboard-interactive認証 |
if (MATCH_STR(option + 5, "=password") == 0) { // パスワード |
| 1515 |
//pvar->auth_state.cur_cred.method = SSH_AUTH_PASSWORD; |
//pvar->auth_state.cur_cred.method = SSH_AUTH_PASSWORD; |
| 1516 |
pvar->ssh2_authmethod = SSH_AUTH_PASSWORD; |
pvar->ssh2_authmethod = SSH_AUTH_PASSWORD; |
| 1517 |
|
|
| 1518 |
|
// /auth=challange を追加 (2007.10.5 maya) |
| 1519 |
|
} else if (MATCH_STR(option + 5, "=challange") == 0) { // keyboard-interactive認証 |
| 1520 |
|
//pvar->auth_state.cur_cred.method = SSH_AUTH_TIS; |
| 1521 |
|
pvar->ssh2_authmethod = SSH_AUTH_TIS; |
| 1522 |
|
|
| 1523 |
} else if (MATCH_STR(option + 5, "=publickey") == 0) { // 公開鍵認証 |
} else if (MATCH_STR(option + 5, "=publickey") == 0) { // 公開鍵認証 |
| 1524 |
//pvar->auth_state.cur_cred.method = SSH_AUTH_RSA; |
//pvar->auth_state.cur_cred.method = SSH_AUTH_RSA; |
| 1525 |
pvar->ssh2_authmethod = SSH_AUTH_RSA; |
pvar->ssh2_authmethod = SSH_AUTH_RSA; |
|
|
Legend:
| Removed from v.3022 |
|
| changed lines |
| |
Added in v.3025 |
|
|
|