Auto login for ssh#

  • Make sure to install SSH
yum install openssh-clients
  • You want to SSH from Server A to server B without a password
  • First log in on A and generate a pair of authentication keys. Do not enter a passphrase:
ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
cd .ssh
  • Now use ssh to create a directory on the remote server ~/.ssh :
ssh root@B mkdir -p .ssh
cat id_rsa.pub | ssh root@B 'cat >> .ssh/authorized_keys'

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-20) was last changed on 24-May-2017 15:30 by Hyve Support
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X
    

All Pages

Page views: 7932

Private Tomcat

Linux

MySQL

Email

SQL Server

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
...nobody

JSPWiki v2.8.1