New answers tagged ssh
0
votes
Possible to use both private key and password authentication for ssh login?
Yes. Access as a sudo user to Ubuntu first.
sudo nano /etc/ssh/sshd_config
Modify the file
PubkeyAuthentication yes
PasswordAuthentication yes
CTRL+X
Save Modified Buffer?
Press Y and then Enter
...
1
vote
Is SSH server secure from internet access outside private network?
To complement @Serge Ballista's excellent answer:
Regarding if it is an option, prefer ssh keys to passwords
ALWAYS USE pubkey-based authentication. Please see the comments below for situations ...
Top 50 recent answers are included
Related Tags
ssh × 1210authentication × 116
linux × 105
openssh × 104
encryption × 85
public-key-infrastructure × 63
tls × 61
man-in-the-middle × 59
key-management × 56
network × 52
rsa × 49
brute-force × 48
cryptography × 44
passwords × 42
tunneling × 42
vpn × 41
ssh-host-key × 40
server × 38
firewalls × 36
key-generation × 27
proxy × 25
openssl × 24
webserver × 24
key-exchange × 24
yubikey × 21