dysprosium on Nostr: I have my own ssh server (on raspberry pi 5, Ubuntu Server 23) but when I try to ...
I have my own ssh server (on raspberry pi 5, Ubuntu Server 23) but when I try to connect from my PC using **key authentication** (having password disabled), I get a blank screen. A blinking cursor.
However, once I enter the command `eval "$(ssh-agent -s)"` and try ssh again, I successfully login after entering my passphrase. I don't want to issue this command every time. Is that possible?
This does not occur when I have password enabled on the ssh server. Also, ideally, I want to enter my passphrase EVERYTIME I connect to my server, so ideally I don't want it to be stored in cache or something. I want the passphrase to be a lil' password so that other people can't accidentally connect to my server when they use my PC.
Published at
2024-08-14 07:58:07 UTCEvent JSON
{
"id": "64b4a0b71874d72247be48df7373a0794d45c6f7dacf68588884e3f94f204003",
"pubkey": "a7ab88b956ce369e68f770e9a9847ac96dc721ca0eb0eb6e7880597b27221c53",
"created_at": 1723622287,
"kind": 1,
"tags": [
[
"t",
"linux"
],
[
"imeta",
"url https://lemmy.dbzer0.com/pictrs/image/5bdcac8d-fbb5-472f-be62-93714544461d.webp",
"m image/webp"
],
[
"proxy",
"https://lemmy.dbzer0.com/post/25912130",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://lemmy.dbzer0.com/post/25912130",
"pink.momostr"
],
[
"-"
]
],
"content": "I have my own ssh server (on raspberry pi 5, Ubuntu Server 23) but when I try to connect from my PC using **key authentication** (having password disabled), I get a blank screen. A blinking cursor. \n\nHowever, once I enter the command `eval \"$(ssh-agent -s)\"` and try ssh again, I successfully login after entering my passphrase. I don't want to issue this command every time. Is that possible?\n\nThis does not occur when I have password enabled on the ssh server. Also, ideally, I want to enter my passphrase EVERYTIME I connect to my server, so ideally I don't want it to be stored in cache or something. I want the passphrase to be a lil' password so that other people can't accidentally connect to my server when they use my PC.\nhttps://lemmy.dbzer0.com/pictrs/image/5bdcac8d-fbb5-472f-be62-93714544461d.webp\n",
"sig": "dfabc8bc851296c0d1386e0c765427dda1324dff2c69c40aae9b58165a4430c411a3dc0f92afef1283d8b31326617526b105912428710d0ff3e4ab2d16f3c6ea"
}