User avatar
iris🇦🇱 @authen@brain.worm.pink
1y
if i set up ssh keys will i not need to copy and paste the password everytime
2
0
0
0
User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
@authen yes
1
0
0
0
User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
@authen create a key with ssh-keygen then ssh-copy-id user@ip and then you dont need to use the passwird
2
0
0
0

User avatar
iris🇦🇱 @authen@brain.worm.pink
1y
@autumn alternatively, you could cat the pubkey directly into some file in your .ssh directory on the server, don't remember which file but that's useful to know when you are trying to get other people on you are server
1
0
1
0
User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
@authen yeah authorized_keys lol
0
0
1
0
User avatar
iris🇦🇱 @authen@brain.worm.pink
1y
@autumn oh wow it works
1
0
1
0
User avatar
iris🇦🇱 @authen@brain.worm.pink
1y
@autumn okay now you can disable password authentication entirely

PasswordAuthentication no
UsePAM no

PasswordAuthentication is sometimes uncommented out and put as yes so search for that before putting that first line in your config
2
0
0
0
User avatar
iris🇦🇱 @authen@brain.worm.pink
1y
@autumn done
0
0
0
0
User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
@authen are you copy pasting from AI.
1
0
0
0
User avatar
iris🇦🇱 @authen@brain.worm.pink
1y
@autumn no you're just talking to 2 people on the same account
1
0
1
0
User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
@authen OH lmao
0
0
0
0