It worked a few hours ago. Then I did the big update and now the IP address cannot be found anymore, even if I set the up address instead of the host name in the settings. It asks me to accept the host public key and then just fails again with „Did not find remote IP address“.
ssh host simply returns with no message at all.
Sorry for that.
You can use ssh2 command as fallback.
Investigating...
Can post ‘ssh -vvvvv host’ output here?
Sorry for that.
You can use
ssh2command as fallback.
Why have two different commands that do the same thing?
ssh2 is old implementation on top of libssh2. Same as it where. We leave it for this version for cases if upgrade doesn't go well.
We reimplemented ssh client on top of libssh with new key types support, port forwarding, proxy command and ssh agent.
libssh and libssh2 are totally different libs (not versions), libssh supports more key types and API is cleaner.
Sorry about that. We have been working very hard on this and tested it very thoroughly with the whole community for months, so it is unfortunate :(
Changing the whole ssh piece plus adding proper features like ProxyCommand, etc... was no easy feat (that’s why we are the only app that does all of it).
Already working on it :)
Not sure I want to post the log publicly. You can mail me at [email protected] as a ping and I will send you the log.
ssh -vvvvv myranda > log.txt 2>&1
Did a nice job, otherwise it’s not possible to copy the whole screen log or did I miss something?
And don‘t worry about me. I have a tendency over stumble over stuff like this ;-)
We have identified what was going on. A patch is coming.
On 2 Nov 2018, at 16:13, carloscabanero notifications@github.com wrote:
That’s great! Glad to hear you’ve worked it out. :)
Cheers,
Chris
Thank you! Also running into this.
Great, looking forward testing it.
12.1 is out with the fix.
Works! Thanks a lot.
Hitting this on v12.1
ssh_connect: libssh 0.7.90 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
ssh_connect: Socket connecting, now waiting for the callbacks to work
ssh_connect: current state : 1
-[IO stream:handleEvent:]: Received POLLOUT in connecting state
socket_callback_connected: Socket connection callback: 1 (0)
ssh_connect: current state : 2
ssh_connect: current state : 2
callback_receive_banner: Received banner: SSH-2.0-OpenSSH_7.4p1 Raspbian-10+deb9u4
ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_7.4p1 Raspbian-10+deb9u4
ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_7.4p1 Raspbian-10+deb9u4
ssh_analyze_banner: We are talking to an OpenSSH client version: 7.4 (70400)
ssh_connect: current state : 4
ssh_packet_socket_callback: packet: read type 20 [len=1076,padding=6,comp=1069,payload=1069]
ssh_packet_process: Dispatching handler for packet type 20
ssh_knownhosts_algorithms: server 192.168.0.2:22 has ssh-rsa in known_hosts
ssh_client_select_hostkeys: Changing host key method to "ssh-rsa"
packet_send2: packet: wrote [len=508,padding=8,comp=499,payload=499]
packet_send2: packet: wrote [len=44,padding=6,comp=37,payload=37]
ssh_connect: current state : 6
ssh_connect: current state : 6
ssh_packet_socket_callback: packet: read type 31 [len=604,padding=8,comp=595,payload=595]
ssh_packet_process: Dispatching handler for packet type 31
ssh_packet_dh_reply: Received SSH_KEXDH_REPLY
packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1]
ssh_client_curve25519_reply: SSH_MSG_NEWKEYS sent
ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1]
ssh_packet_process: Dispatching handler for packet type 21
ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
crypt_set_algorithms2: Set output algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
crypt_set_algorithms2: Set input algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
ssh_packet_newkeys: Signature verified and valid
ssh_connect: current state : 7
blink: setting socket keepalive: 1
packet_send2: packet: wrote [len=28,padding=10,comp=17,payload=17]
ssh_service_request: Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth)
ssh_userauth_request_service: Failed to request "ssh-userauth" service
ssh_packet_socket_callback: packet: read type 6 [len=28,padding=10,comp=17,payload=17]
ssh_packet_process: Dispatching handler for packet type 6
ssh_packet_service_accept: Received SSH_MSG_SERVICE_ACCEPT
packet_send2: packet: wrote [len=44,padding=10,comp=33,payload=33]
ssh_packet_socket_callback: packet: read type 51 [len=28,padding=12,comp=15,payload=15]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
False alarm - looks like the App Store fooled me. I updated this morning and it said 12.1 but now there's another update which is the real 12.1 and it's working. Thanks!
Hello,
Was a bit desperate, since I could not login to my servers (key based), then found this thread.
The update to 12.1 worked 1 time (of starting blink), now getting:
socket_callback_connected: Socket connection callback: 1 (0)
ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_7.5p1-hpn14v12
ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_7.5p1-hpn14v12
ssh_analyze_banner: We are talking to an OpenSSH client version: 7.5 (70500)
blink: setting socket keepalive: 1
ssh_userauth_request_service: Failed to request "ssh-userauth" service
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
blink: import key xxxxxxxxxx
blink: open channels
blink: open session
ssh_packet_process: Couldn't do anything with packet type 80
ssh_packet_kexinit: Other side initiating key re-exchange
ssh_packet_process: Couldn't do anything with packet type 120
ssh_socket_exception_callback: Socket exception callback: 1 (0)
ssh_socket_exception_callback: Socket error: disconnected
Socket error: disconnected
blink>
At least the workaround with ssh2
Hi @philosophish
what type of the key are you using? blink: import key xxxxxxxxxx rsa? ecdsa?
Hello,
Thanks for replying.
I habe double-checked and basically it seems upon testing, I tripped over different versions on the servers.
It does work now with the machines where I have openssh >= 7.7 ; the problem is with the machines running a lower version of openssh e.g. 7.5. (as in the example above).
So, on the machines over which I have control I have upgraded openssl and openssh and everything is fine there; where I do not have the possibility (e.g. clients' machines) I am connecting to the servers with the "ssh2" command, which prevents the use of mosh but is a workable option.
Hello,
My problem is perhaps with keyboard-interactive (for two step authentication), but ssh2 is working.
blink: import key xxxxx
ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false
packet_send2: packet: wrote [len=620,padding=8,comp=611,payload=611]
ssh_packet_socket_callback: packet: read type 51 [len=44,padding=17,comp=26,payload=26]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Partial success. Authentication that can continue: keyboard-interactive
blink>
Hi @mgbaozi,
Can you post top part of log? what version of server?
Thanks for reply,
My server version is OpenSSH_7.4p1 Debian-10+deb9u3, OpenSSL 1.0.2l
blink> ssh -vvvv xxx
ssh_connect: libssh 0.7.90 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
ssh_connect: Socket connecting, now waiting for the callbacks to work
ssh_connect: current state : 1
-[IO stream:handleEvent:]: Received POLLOUT in connecting state
socket_callback_connected: Socket connection callback: 1 (0)
ssh_connect: current state : 2
callback_receive_banner: Received banner: SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u3
ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u3
ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u3
ssh_analyze_banner: We are talking to an OpenSSH client version: 7.4 (70400)
ssh_connect: current state : 4
ssh_packet_socket_callback: packet: read type 20 [len=1076,padding=6,comp=1069,payload=1069]
ssh_packet_process: Dispatching handler for packet type 20
ssh_knownhosts_algorithms: server xxxxxx:xxxx has ssh-ed25519 in known_hosts
ssh_knownhosts_algorithms: server xxxxxx:xxxx has ssh-rsa in known_hosts
ssh_client_select_hostkeys: Changing host key method to "ssh-ed25519,ssh-rsa"
packet_send2: packet: wrote [len=516,padding=4,comp=511,payload=511]
packet_send2: packet: wrote [len=44,padding=6,comp=37,payload=37]
ssh_connect: current state : 6
ssh_packet_socket_callback: packet: read type 31 [len=188,padding=8,comp=179,payload=179]
ssh_packet_process: Dispatching handler for packet type 31
ssh_packet_dh_reply: Received SSH_KEXDH_REPLY
packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1]
ssh_client_curve25519_reply: SSH_MSG_NEWKEYS sent
ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1]
ssh_packet_process: Dispatching handler for packet type 21
ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
crypt_set_algorithms2: Set output algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
crypt_set_algorithms2: Set input algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
ssh_packet_newkeys: Signature verified and valid
ssh_connect: current state : 7
blink: setting socket keepalive: 1
packet_send2: packet: wrote [len=28,padding=10,comp=17,payload=17]
ssh_service_request: Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth)
ssh_userauth_request_service: Failed to request "ssh-userauth" service
ssh_packet_socket_callback: packet: read type 6 [len=28,padding=10,comp=17,payload=17]
ssh_packet_process: Dispatching handler for packet type 6
ssh_packet_service_accept: Received SSH_MSG_SERVICE_ACCEPT
packet_send2: packet: wrote [len=44,padding=7,comp=36,payload=36]
ssh_packet_socket_callback: packet: read type 51 [len=28,padding=12,comp=15,payload=15]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
blink: import key xxxxx
ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false
packet_send2: packet: wrote [len=620,padding=8,comp=611,payload=611]
ssh_packet_socket_callback: packet: read type 51 [len=44,padding=17,comp=26,payload=26]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Partial success. Authentication that can continue: keyboard-interactive
blink>
Hmm, I was thinking it is server version issue.
But I just connected to SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u7
@mgbaozi
Interesting setup. I found an issue.
Currently ssh command asks only once for allowed auth methods. So first time, it gets only publickey. And do not do keyboard-interactive at all after partial success.
Can you share your sshd/config? just for partial auth.
Thank you.
@yury
ChallengeResponseAuthentication yes
AuthenticationMethods publickey,keyboard-interactive
UsePAM yes
And auth [success=1 default=ignore] pam_python.so /path/to/code/totp.py in /etc/pam.d/sshd
@mgbaozi
Thank you. I was able to reproduce it. Fixing...
@yury Thanks a lot!
@mgbaozi fixed that. Thank you for you help.
When will this be released? Missing mosh.
@shannonmoeller working on connection issues for some envs.
Can you share your ssh -vvvvv host output?
Sent with GitHawk
ssh_connect: libssh 0.7.90 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
ssh_connect: Socket connecting, now waiting for the callbacks to work
ssh_connect: current state : 1
-[IO stream:handleEvent:]: Received POLLOUT in connecting state
socket_callback_connected: Socket connection callback: 1 (0)
ssh_connect: current state : 2
ssh_connect: current state : 2
callback_receive_banner: Received banner: SSH-2.0-OpenSSH_7.7p1 Ubuntu-4
ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_7.7p1 Ubuntu-4
ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_7.7p1 Ubuntu-4
ssh_analyze_banner: We are talking to an OpenSSH client version: 7.7 (70700)
ssh_connect: current state : 4
ssh_packet_socket_callback: packet: read type 20 [len=1076,padding=6,comp=1069,payload=1069]
ssh_packet_process: Dispatching handler for packet type 20
ssh_knownhosts_algorithms: server X.X.X.X:22 has ssh-ed25519 in known_hosts
ssh_knownhosts_algorithms: server X.X.X.X:22 has ssh-rsa in known_hosts
ssh_client_select_hostkeys: Changing host key method to "ssh-ed25519,ssh-rsa"
packet_send2: packet: wrote [len=516,padding=4,comp=511,payload=511]
packet_send2: packet: wrote [len=44,padding=6,comp=37,payload=37]
ssh_connect: current state : 6
ssh_packet_socket_callback: packet: read type 31 [len=188,padding=8,comp=179,payload=179]
ssh_packet_process: Dispatching handler for packet type 31
ssh_packet_dh_reply: Received SSH_KEXDH_REPLY
packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1]
ssh_client_curve25519_reply: SSH_MSG_NEWKEYS sent
ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1]
ssh_packet_process: Dispatching handler for packet type 21
ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
crypt_set_algorithms2: Set output algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
crypt_set_algorithms2: Set input algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
ssh_packet_newkeys: Signature verified and valid
ssh_connect: current state : 7
packet_send2: packet: wrote [len=28,padding=10,comp=17,payload=17]
ssh_service_request: Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth)
ssh_userauth_request_service: Failed to request "ssh-userauth" service
ssh_packet_socket_callback: packet: read type 6 [len=28,padding=10,comp=17,payload=17]
ssh_packet_process: Dispatching handler for packet type 6
ssh_packet_service_accept: Received SSH_MSG_SERVICE_ACCEPT
packet_send2: packet: wrote [len=44,padding=4,comp=39,payload=39]
ssh_packet_socket_callback: packet: read type 51 [len=28,padding=12,comp=15,payload=15]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
Yep, that is the one I still can’t reproduce. Can you also post ssh -G host output?
Sent with GitHawk
You bet:
printaddress no
_printconfiguration yes
compression yes
compressionlevel 6
connectionattempts 1
connecttimeout 20
exitonforwardfailure no
forwardagent no
forwardx11 no
hostname XXX.XXX.XXX.XXX
identityfile None
kbdinteractiveauthentication yes
loglevel info
numberofpasswordprompts 3
passwordauthentication yes
port 22
pubkeyauthentication yes
requesttty auto
serveralivecountmax 3
serveraliveinterval 0
stricthostkeychecking ask
tcpkeepalive yes
user XXXXXX
I’m trying to connect to a DigitalOcean droplet running Ubuntu 18.10.
This is wrong:
passwordauthentication yes
I have password auth turned off at the server. Not sure if that matters.
Ok, thank you for your logs.
What is wrong is identityfile None
config -> keys? .ssh/ssh_config file?ssh -i <your key> -vvvvvv host and also ssh -i <your key> -G hostI will try to create same droplet.
config > host)blink> ssh -vvvvv -i id_rsa remotedev
ssh_connect: libssh 0.7.90 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
ssh_connect: Socket connecting, now waiting for the callbacks to work
ssh_connect: current state : 1
ssh_connect: current state : 1
-[IO stream:handleEvent:]: Received POLLOUT in connecting state
socket_callback_connected: Socket connection callback: 1 (0)
ssh_connect: current state : 2
ssh_connect: current state : 2
callback_receive_banner: Received banner: SSH-2.0-OpenSSH_7.7p1 Ubuntu-4
ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_7.7p1 Ubuntu-4
ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_7.7p1 Ubuntu-4
ssh_analyze_banner: We are talking to an OpenSSH client version: 7.7 (70700)
ssh_connect: current state : 4
ssh_connect: current state : 4
ssh_packet_socket_callback: packet: read type 20 [len=1076,padding=6,comp=1069,payload=1069]
ssh_packet_process: Dispatching handler for packet type 20
ssh_knownhosts_algorithms: server X.X.X.X:22 has ssh-ed25519 in known_hosts
ssh_knownhosts_algorithms: server X.X.X.X:22 has ssh-rsa in known_hosts
ssh_client_select_hostkeys: Changing host key method to "ssh-ed25519,ssh-rsa"
packet_send2: packet: wrote [len=516,padding=4,comp=511,payload=511]
packet_send2: packet: wrote [len=44,padding=6,comp=37,payload=37]
ssh_connect: current state : 6
ssh_connect: current state : 6
ssh_packet_socket_callback: packet: read type 31 [len=188,padding=8,comp=179,payload=179]
ssh_packet_process: Dispatching handler for packet type 31
ssh_packet_dh_reply: Received SSH_KEXDH_REPLY
packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1]
ssh_client_curve25519_reply: SSH_MSG_NEWKEYS sent
ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1]
ssh_packet_process: Dispatching handler for packet type 21
ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
crypt_set_algorithms2: Set output algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
crypt_set_algorithms2: Set input algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
ssh_packet_newkeys: Signature verified and valid
ssh_connect: current state : 7
blink: setting socket keepalive: 1
packet_send2: packet: wrote [len=28,padding=10,comp=17,payload=17]
ssh_service_request: Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth)
ssh_userauth_request_service: Failed to request "ssh-userauth" service
ssh_userauth_request_service: Failed to request "ssh-userauth" service
ssh_packet_socket_callback: packet: read type 6 [len=28,padding=10,comp=17,payload=17]
ssh_packet_process: Dispatching handler for packet type 6
ssh_packet_service_accept: Received SSH_MSG_SERVICE_ACCEPT
packet_send2: packet: wrote [len=44,padding=4,comp=39,payload=39]
ssh_packet_socket_callback: packet: read type 51 [len=28,padding=12,comp=15,payload=15]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
blink: import key id_rsa
ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false
packet_send2: packet: wrote [len=1132,padding=5,comp=1126,payload=1126]
ssh_packet_socket_callback: packet: read type 51 [len=28,padding=12,comp=15,payload=15]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey
blink> ssh -G -i id_rsa remotedev
_printaddress no
_printconfiguration yes
compression yes
compressionlevel 6
connectionattempts 1
connecttimeout 20
exitonforwardfailure no
forwardagent no
forwardx11 no
hostname XXX.XXX.XXX.XXX
identityfile id_rsa
kbdinteractiveauthentication yes
loglevel info
numberofpasswordprompts 3
passwordauthentication yes
port 22
pubkeyauthentication yes
requesttty auto
serveralivecountmax 3
serveraliveinterval 0
stricthostkeychecking ask
tcpkeepalive yes
user XXXxxXX
@shannonmoeller,
I have created droplet - everything is ok.
But I find issue with identityfile=None.
How many keys do you have? id_rsa is the one for DO? or you have another one?
Just one key.
I recreated my droplet twice and I deleted Blink and reinstalled twice. Exact same issues each time.
ok, I think we are very close. Sorry for bothering you with questions.
Just to be shure what version are you using help command prints it.
How you create your key? You import it or create new one?
What I did.
ssh-copy-id id_rsa root@<ip> ssh DO tooI have one Blink key and use it to access DO, yes. I also have a key I use to access DO from a laptop.
ssh-keygen-t rsa/home/root/.ssh/authorized_keys to /home/[username]/.ssh/authorized_keys.sudo chmod 0700 .ssh and sudo chmod 0600 .ssh/authorized_keysOh, and help prints Blink: v12.1.4. Nov 2 2018
@yury Shoot me an email with a .pub and I’ll get you root auth to the droplet. I’ll need to recreate it anyway.
@shannonmoeller sorry for late response.
But I think I understand what is going on :)
Blink supports two keys storages: Secure Enclave (config->keys) and file system (~/.ssh/).
Blink looks keys in Secure Enclave first and then in ~/.ssh.
Also Blink creates id_rsa in Secure Enclave by default.
So id_rsa key in config -> keys and in .ssh/ are different, but with same name.
ssh-keygen is not recommended way to create keys with blink.
You can just copy key from config -> keys and set it up in DO (no need to generate key with ssh-keygen)
I will add extra working to verbose output if we have key with same name in blink and .ssh
Ok. That makes sense. Why was it working in the old version?
Also, I’m pretty used to the CLI tools and having ssh-keygen available to use when it’s not the right thing to use is super confusing.
I copied the key I created with ssh-keygen into config > keys, created a host with config > hosts and everything is working now! Thanks for looking into it.
I’d highly recommend either disallowing the use of ssh-keygen or, preferably, some sort of integration between ssh-keygen and the config > keys UI. Same for .ssh/config and config > hosts.
Thanks again. SO freaking happy to have mosh back! :)
Prev version don't use keys from .ssh/. May be you imported key in config?
Anyway, I'm glad that you have mosh back! And yes, I think we should make ssh-keygen work with Secure Enclove by default and file system with the flag.
What server are you connecting to? The diffie-hellman-group1-sha1 should have done the trick though.
@carloscabanero - deleted my original comment -- turns out i was looking at the wrong line server log line, it was a different IP attempting to SSH into my server, which explicitly disallows SHA1 and other older insecure key exchange algorithms.
ssh2 is working, but the newer ssh is failing with the following message on the server:
Nov 15 17:56:00 [sshd] fatal: ssh_dispatch_run_fatal: Connection to 1.2.3.4: invalid format
From ssh -vv, after entering my password I see...
blink: open channels
blink: open session
channel_open: Creating a channel 43 with 2097152 window and 32768 max packet
ssh_packet_global_request: Received SSH_MSG_GLOBAL_REQUEST packet
ssh_packet_global_request: UNKNOWN SSH_MSG_GLOBAL_REQUEST [email protected] 0
ssh_packet_process: Couldn't do anything with packet type 80
ssh_packet_kexinit: Other side initiating key re-exchange
ssh_packet_dh_reply: Receieved SSH_KEXDH_REPLY
ssh_client_curve25519_reply: SSH_MSG_NEWKEYS sent
ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
ssh_packet_newkeys: Signature verified and valid
ssh_packet_process: Couldn't do anything with packet type 120
ssh_socket_exception_callback: Socket exception callback: 1 (0)
ssh_socket_exception_callback: Socket error: disconnected
@tomalok can you post log with more verbose output (1st-vvvvvv`)?
@yury I'll see what I can do -- I hand transcribed the above slice from my iPad... ;P
You can do smth like ssh -vvvvvv host 2> log.txt then pbcopy log.txt
pbcopy log.txt seems to have only copied "log.txt", at least when I attempted to paste it into Mail app? Anyways, managed to send the file as an attachment...
ssh_connect: libssh 0.7.90 (c) 2003-2018 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
ssh_connect: Socket connecting, now waiting for the callbacks to work
ssh_connect: current state : 1
ssh_connect: current state : 1
-[IO stream:handleEvent:]: Received POLLOUT in connecting state
socket_callback_connected: Socket connection callback: 1 (0)
ssh_connect: current state : 2
callback_receive_banner: Received banner: SSH-2.0-OpenSSH_7.1p2-hpn14v10
ssh_client_connection_callback: SSH server banner: SSH-2.0-OpenSSH_7.1p2-hpn14v10
ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_7.1p2-hpn14v10
ssh_analyze_banner: We are talking to an OpenSSH client version: 7.1 (70100)
ssh_connect: current state : 4
ssh_packet_socket_callback: packet: read type 20 [len=788,padding=5,comp=782,payload=782]
ssh_packet_process: Dispatching handler for packet type 20
ssh_knownhosts_algorithms: server server-fqdn:22 has ssh-ed25519 in known_hosts
ssh_knownhosts_algorithms: server server-fqdn:22 has ssh-rsa in known_hosts
ssh_client_select_hostkeys: Changing host key method to "ssh-ed25519,ssh-rsa"
packet_send2: packet: wrote [len=516,padding=4,comp=511,payload=511]
packet_send2: packet: wrote [len=44,padding=6,comp=37,payload=37]
ssh_connect: current state : 6
ssh_packet_socket_callback: packet: read type 31 [len=188,padding=8,comp=179,payload=179]
ssh_packet_process: Dispatching handler for packet type 31
ssh_packet_dh_reply: Received SSH_KEXDH_REPLY
packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1]
ssh_client_curve25519_reply: SSH_MSG_NEWKEYS sent
ssh_packet_socket_callback: packet: read type 21 [len=12,padding=10,comp=1,payload=1]
ssh_packet_process: Dispatching handler for packet type 21
ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
crypt_set_algorithms2: Set output algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
crypt_set_algorithms2: Set input algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
ssh_packet_newkeys: Signature verified and valid
ssh_connect: current state : 7
blink: setting socket keepalive: 1
packet_send2: packet: wrote [len=28,padding=10,comp=17,payload=17]
ssh_service_request: Sent SSH_MSG_SERVICE_REQUEST (service ssh-userauth)
ssh_userauth_request_service: Failed to request "ssh-userauth" service
ssh_packet_socket_callback: packet: read type 6 [len=28,padding=10,comp=17,payload=17]
ssh_packet_process: Dispatching handler for packet type 6
ssh_packet_service_accept: Received SSH_MSG_SERVICE_ACCEPT
packet_send2: packet: wrote [len=44,padding=8,comp=35,payload=35]
ssh_packet_socket_callback: packet: read type 51 [len=44,padding=7,comp=36,payload=36]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey,keyboard-interactive
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey,keyboard-interactive
blink: import key id_rsa
ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false
packet_send2: packet: wrote [len=1132,padding=9,comp=1122,payload=1122]
ssh_packet_socket_callback: packet: read type 51 [len=44,padding=7,comp=36,payload=36]
ssh_packet_process: Dispatching handler for packet type 51
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey,keyboard-interactive
ssh_packet_userauth_failure: Access denied. Authentication that can continue: publickey,keyboard-interactive
ssh_userauth_kbdint_init: Sending keyboard-interactive init request
packet_send2: packet: wrote [len=76,padding=16,comp=59,payload=59]
ssh_packet_socket_callback: packet: read type 60 [len=44,padding=11,comp=32,payload=32]
ssh_packet_process: Dispatching handler for packet type 60
ssh_packet_userauth_info_request: 1 keyboard-interactive prompts
ssh_userauth_kbdint_send: Sending keyboard-interactive response packet
packet_send2: packet: wrote [len=28,padding=10,comp=17,payload=17]
ssh_packet_socket_callback: packet: read type 60 [len=28,padding=10,comp=17,payload=17]
ssh_packet_process: Dispatching handler for packet type 60
ssh_packet_userauth_info_request: 0 keyboard-interactive prompts
ssh_userauth_kbdint_send: Sending keyboard-interactive response packet
packet_send2: packet: wrote [len=12,padding=6,comp=5,payload=5]
ssh_packet_socket_callback: packet: read type 52 [len=12,padding=10,comp=1,payload=1]
ssh_packet_process: Dispatching handler for packet type 52
ssh_packet_userauth_success: Authentication successful
ssh_packet_userauth_success: Enabling delayed compression OUT
ssh_packet_userauth_success: Enabling delayed compression IN
blink: open channels
blink: open session
channel_open: Creating a channel 43 with 2097152 window and 32768 max packet
packet_send2: packet: wrote [len=44,padding=18,comp=25,payload=24]
channel_open: Sent a SSH_MSG_CHANNEL_OPEN type session for channel 43
ssh_packet_socket_callback: packet: read type 80 [len=940,padding=17,comp=922,payload=914]
ssh_packet_process: Dispatching handler for packet type 80
ssh_packet_global_request: Received SSH_MSG_GLOBAL_REQUEST packet
ssh_packet_global_request: UNKNOWN SSH_MSG_GLOBAL_REQUEST [email protected] 0
ssh_packet_process: Couldn't do anything with packet type 80
packet_send2: packet: wrote [len=12,padding=4,comp=7,payload=5]
ssh_packet_socket_callback: packet: read type 20 [len=220,padding=10,comp=209,payload=782]
ssh_packet_process: Dispatching handler for packet type 20
ssh_packet_kexinit: Other side initiating key re-exchange
packet_send2: packet: wrote [len=220,padding=4,comp=215,payload=511]
packet_send2: packet: wrote [len=60,padding=18,comp=41,payload=37]
ssh_packet_socket_callback: packet: read type 31 [len=124,padding=7,comp=116,payload=179]
ssh_packet_process: Dispatching handler for packet type 31
ssh_packet_dh_reply: Received SSH_KEXDH_REPLY
packet_send2: packet: wrote [len=12,padding=8,comp=3,payload=1]
ssh_client_curve25519_reply: SSH_MSG_NEWKEYS sent
ssh_packet_socket_callback: packet: read type 21 [len=12,padding=7,comp=4,payload=1]
ssh_packet_process: Dispatching handler for packet type 21
ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
crypt_set_algorithms2: Set output algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
crypt_set_algorithms2: Set input algorithm to aes256-ctr
crypt_set_algorithms2: Set HMAC output algorithm to hmac-sha2-256
ssh_packet_newkeys: Signature verified and valid
ssh_packet_socket_callback: packet: read type 120 [len=28,padding=13,comp=14,payload=14]
ssh_packet_process: Dispatching handler for packet type 120
ssh_packet_process: Couldn't do anything with packet type 120
packet_send2: packet: wrote [len=12,padding=6,comp=5,payload=5]
ssh_socket_exception_callback: Socket exception callback: 1 (0)
ssh_socket_exception_callback: Socket error: disconnected
Socket error: disconnected
Oh yea, sorry it should becat log.txt | pbcopy.
Digging in to logs, thank you.
Since we have all these issues as separate, I close this general one.
Most helpful comment
We have identified what was going on. A patch is coming.