ericwq / aprilsh

remote shell support intermittent or mobile network.
MIT License
5 stars 0 forks source link

client should compatible with SSH AUTH protocol - rfc4252 #47

Closed ericwq closed 5 months ago

ericwq commented 8 months ago
ericwq commented 5 months ago

for server: How can I list MACs, Ciphers and KexAlogrithms supported by my ssh server?

sshd -T | grep "\(ciphers\|macs\|kexalgorithms\)"

for client:

     PreferredAuthentications
             Specifies the order in which the client should try authentication methods.  This allows a client to prefer one method
             (e.g. keyboard-interactive) over another method (e.g. password).  The default is:

                   gssapi-with-mic,hostbased,publickey,
                   keyboard-interactive,password
ericwq commented 5 months ago

for client:

           1.   command-line options
           2.   user's configuration file (~/.ssh/config)
           3.   system-wide configuration file (/etc/ssh/ssh_config)
ericwq commented 5 months ago

plan to support only two auth methods: publickey, password. agent is just a shortcut for publickey auth method. rfc4254

ericwq commented 5 months ago

verified.