Unable to connect to Fedora from Mac with private key with WebSSH #530
Unanswered
michaelarz
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Hello @michaelarz 👋 Thank you a lot for your feedback 🙏 Perhaps there are more information in WebSSH verbose logs. In order to enable verbose logging you can follow the steps :
Could you try to find a useful information in these logs? Have a nice day ☀️ |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
just bought a Pro and quite happy in general, just got one issue with logging using private key.
Any ideas, what could be configured wrong here?
I can connect with my private key from mac terminal to fedora linux machine.
But this key imported to WebSSH does not allow to connect.
Key was generated with
ssh-keygen -t rsa -b 4096
and looks like:-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAACFwAAAAdzc2gtcn
...
vb3dUPro8Onb5QAAABJtaWNrQGhtY2suYXJ6dW1hbmkBAgMEBQYH
-----END OPENSSH PRIVATE KEY-----
using something like
ssh mikhail@hmsrv -i key4
from my mac works as usual.Looking at linux logs crypto exchange looks fine, but auth session failed for WebSSH
Connecting from mac:
Feb 2 19:43:18 hmsrv audit[1504239]: USER_AUTH pid=1504239 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=pubkey_auth grantors=auth-key acct="mikhail" exe="/usr/sbin/sshd" hostname=? addr=10.12.15.94 terminal=? res=success'
Connecting from WebSSH:
Feb 2 19:43:57 hmsrv audit[1504510]: USER_LOGIN pid=1504510 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg='op=login acct="(unknown)" exe="/usr/sbin/sshd" hostname=? addr=127.0.0.1 terminal=ssh res=failed'
Any other logs which could be helpful?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions