[root@server2~]#ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.2.202
21
root@192.168.2.202's password:
Now try logging into the machine, with "ssh '192.168.2.202'", and check in:
.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.
[root@server2~]#ssh 192.168.2.202
Last login: Thu Dec 23 18:25:19 2010 from 192.168.2.200
[root@server3 ~]#
Sharing knowledge on Linux, DevOps, Middleware and Cloud Technologies!!
Subscribe to:
Post Comments (Atom)
Troubleshooting Azure SQL Time-Based Immutability with Terraform
Architecture Diagram Terraform Apply ➡ Resource Group ➡ SQL Server ➡ SQL Databases ➡...
-
Currently, we are getting some issues while deleting the namespace in Kubernetes(AKS). When we run " kubectl delete ns " command,...
-
We have different options for taking a heap dump of running JAVA process and then analyze those dump for any kind for memory leak. Today, ...
-
Sometimes we have to manage credentials for lots of things and its obvious that we can forget one of them. Here I am going to expl...
No comments:
Post a Comment