Create SSH user without password using PuttyGen

Create SSH User
[root@localhost ~]# useradd test
[root@localhost ~]# passwd test

Create Keypair using PyttyGen

 Copy Public key and paste into authorized_keys file

[root@localhost test]# mkdir /home/test/.ssh
[root@localhost .ssh]# vi /home/test/.ssh/authorized_keys
Paste the Public key

[root@localhost home]# chown test:test -R test/.ssh/

Save Private key

Using putty to connect Server

Nhận xét

Bài đăng phổ biến từ blog này

CLEANING UP THE ZABBIX DATABASE

Configuring DHCP Relay service on the FortiGate unit

[Resolved] Amazon EC2 Redhat 7 using 6GB for the root space