All Questions
13
questions
-2
votes
1
answer
45
views
Management of password disable server
This question is just for curiosity. I am studying a bit of server administration and have seen many people saying that having passwords is a bad idea and they should be disabled. But my question is: ...
0
votes
2
answers
164
views
How to manage the keys in my ~/.ssh/authorized_keys on the server? (login without requiring password each time on a particular machine)
I am trying to follow this answer to login to my server via ssh without typing my extremely long password each time:
https://serverfault.com/a/241593/295203
Right now I have 6 keys in my ...
2
votes
2
answers
863
views
Password security of encrypted SSH private key: How to read round number or costfactor of bcrypt
Here https://security.stackexchange.com/a/52564 you can read that newer OpenSSH versions use bcrypt for protecting the keyfile. Security of bcrypt depends on the costfactor see https://security....
-1
votes
1
answer
74
views
Best way to lock out a group once per week [duplicate]
A SSH server I admin is to be allowed login from a group of users all days of week except sunday.
How would be your elegant solution to this? Thanks any input on comments or creative +and+ secure ...
0
votes
3
answers
537
views
One time password login via ssh
Adding SSH keys
I have a server running CentOS 7. I have a multitude of clients varying from Fedora, Ubuntu, CentOS and Windows 10 if that matters.
The only way to log into the server is via ssh on ...
0
votes
1
answer
33
views
Aws Ubuntu access lost, while creating new user
I had created a new user ( disable password command) on my instance. while giving him access somehow i have edited file at etc/ssh/sshd_config at line 33
#AuthorizedKeysFile %h/.ssh/authorized_keys
/...
0
votes
1
answer
76
views
GCP Login policy for instances
Inside gcp instance, there is missing pam.d module. Also it has it's own wrapper over ssh, so you have to use glcoud tool's ssh to get into the instance. While it is easy to setup login lockout policy ...
3
votes
1
answer
4k
views
ansible ssh connections with two factor auth
I'm setting ansible to manage a whole farm of servers. My approach is the following:
Allow a user to connect to all servers protecting his connections with a heavy RSA key, passphrase protected, and ...
-2
votes
1
answer
450
views
set up root password aws instance
I need to set the password for root user when sudo su -, ubuntu user should login via ssh key only.
#ssh -i server.pem [email protected]
[email protected]:~$ sudo su - --> should prompt the ...
0
votes
2
answers
641
views
Public SFTP server directory with no password or keyfile
I want to be able to allow users to connect to my SFTP server under a restricted user that only has read access to view files in a certain directory that I upload to without it requiring a password or ...
1
vote
2
answers
1k
views
Why to use password protected SSH key files for remote access? [duplicate]
I was thinking of using key files for remote SSH access to my server instead of entering the account's password manually at login. On the Internet I found several tutorials on how to do that for Putty,...
4
votes
3
answers
12k
views
Forgot the password for an encrypted SSH key that's in my (gnome) SSH agent. How do I extract unencrypted version? [closed]
OK, I have an encrypted ssh private key that provides access to a server. My Ubuntu GNOME desktop has an integrated graphical ssh agent (seahorse v3.2.2). That ssh key is in this ssh agent and it's ...
1
vote
4
answers
661
views
What's the benefit of using asymmetric keys over passwords?
Is there a benefit to using keys over regular passwords when it comes to logging into a remote server over SSH? (Besides not having to remember/input that password)