diff options
author | Mike Lockwood <lockwood@google.com> | 2011-12-28 14:12:50 -0500 |
---|---|---|
committer | Mike Lockwood <lockwood@google.com> | 2012-02-08 10:12:53 -0800 |
commit | 1b6cc98e30329f380546d5f22b1c9c975e3df4f8 (patch) | |
tree | c62a60fd316e4812ce6ca453efad71733e668df0 /auth2-none.c | |
parent | d62cf1eb84c245692d63a45c9ef71583bd2bfda1 (diff) |
Initial port of openssh to android
Operation instructions:
start from init.rc using start-ssh script
Add your public key to /data/ssh/authorized_keys
login with "ssh shell@<ip address>" from another computer on same network
Change-Id: I1085a8b2f2766d4a2a4a70ffaf0352b07c261281
Signed-off-by: Mike Lockwood <lockwood@google.com>
Diffstat (limited to 'auth2-none.c')
-rw-r--r-- | auth2-none.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/auth2-none.c b/auth2-none.c index c8c6c74a..7aae9453 100644 --- a/auth2-none.c +++ b/auth2-none.c @@ -61,8 +61,11 @@ userauth_none(Authctxt *authctxt) { none_enabled = 0; packet_check_eom(); +#ifndef ANDROID + /* no password authentication in android */ if (options.permit_empty_passwd && options.password_authentication) return (PRIVSEP(auth_password(authctxt, ""))); +#endif return (0); } |