You are here:

Unix/Linux OS/connecting from one unix server to another

Advertisement


Question
Hi Nix, I need to connect to another unix server when i am logged into one server without entering the password.
Can you please provide the detailed steps or some tutorial for the same.

Answer
Hi Vipin.

Sorry for late reply, had some health issues...

Anyway, the thing you're looking for is SSH, using authorized keys.

Step 1. Make a SSH key-pair on your system
ssh-keygen -t rsa -C "your_email@example.com"

Step 2. Copy the public key from the pair to the target machine
Place it in the ${HOME}/.ssh/authorized_keys of the target user account

Make sure that access permissions on the folder are 700 and the file 600. SSH is very sensitive about it.

Nix.

Unix/Linux OS

All Answers


Answers by Expert:


Ask Experts

Volunteer


nix

Expertise

UNIX, programing, C, C++, awk, shell scripts, Web, HTTP, Apache, firewall, AltaVista firewall, E-Mail, sendmail, IMAP4 POP3, DNS, NTP, system administration, TCP/IP, security

Experience

UNIX
Digital UNIX
AltaVista Firewall
TCP/IP

Education/Credentials
BSCS

©2016 About.com. All rights reserved.