#[Solved] SSH on archiso

13 messages · Page 1 of 1 (latest)

plain trailBOT
#

@twilit lichen

twilit lichen
# plain trail <@743395404900728862>

in your host, the user that youre sshing into

╰───❯ ls ~/.ssh/           
authorized_keys  id_rsa  id_rsa.pub
╭─[i0bz@arch]-[~]
╰───❯ ``` 
copy the .pub file
which is the public key

and then append its contents to a new line in the ~/.ssh/authorized_keys
of the client
#

you might want to edit the authorized_keys file
and edit the hostname to the ip of the host if you didnt configure /etc/hosts of the client

#

i guess you could also just use ssh -i thepublickey
so you dont need to copy its contents to the authorized keys

plain trailBOT
#

Unless I’m badly mistaken you want me to copy a file on the vps I can’t ssh into

i0bz ↩️

[Reply to:](#1030322652423925810 message) in your host, the user that youre sshing into

╰───❯ ls ~/.ssh/           
autho…
twilit lichen
#

how tf did you get the private key then

plain trailBOT
#

sigh
My friend set all this up for me and sent me the key

#

I’m honestly so tired rn 😭

#

So .. ig I’d have to have him do that for me too

twilit lichen
#

hmm
i took a look at the key's perms earlier

since you said it's a private key it needs to be

600
yours was
644

could you chmod that file

#

to 600 and try again with the
ssh -i /root/sshkey.txt

plain trailBOT
#

Okay

#

Oh my fucking Jesus Christ that worked thank you 😭