Passwordless connectivity to another Unix machine


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Passwordless connectivity to another Unix machine
# 1  
Old 08-24-2009
Passwordless connectivity to another Unix machine

Hey,

I need to setup a passwordless connectivity from one Unix machine to another unix machine.

I have the passwords for both the machines.

Need from
user@host1 to
user@host2

Please help.


Thanks,
Robin
# 2  
Old 08-24-2009
Please use the search feature of the site first. Look for "passwordless authentication" or "public key authentication"
# 3  
Old 08-31-2009
welcome to SSH

- IMHO, SSH (Secure SHell) seems a good solution for your problem ;

- it all starts with `man ssh' , assuming your unix flavour has it at all ;

( otherwise , take a look at OpenSSH -- or SSH - Secure Managed File Transfer, Secure FTP Replacement, Mainframe FTP if you prefer to pay for support )

good luck, and success !

alexandre botao
Alexandre V. R. Botao | Unix, C/C++, Shell, LDAP, SSL/TLS, SSH, Perl, Java, Python, Security, ...
# 4  
Old 09-02-2009
robinbannis

ssh-keygen -t rsa
above command will ask you to enter passphrase but don't enter anything simply hit enter twice
and then cd /home/username/.ssh and execute the following command
scp id_rsa.pub 192.168.0.100:/root/.ssh/authorized_keys2
afterward when you shh to 192.168.0.100 you will not be asked for a password
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Passwordless sftp connection from UNIX to windows server

HI , I am trying to make a passwordless sftp connection from a unix server to windows server I have used a existing script which is like this cd /home150/adm/.ssh/ ssh-agent /usr/bin/ksh <<EOF ssh-add IDBNEWKEY ssh-add -l sftp IDBUSER@abc.com cd /home/IDBUSER/Share/IDB/ rm ${FILE}... (0 Replies)
Discussion started by: Jcpratap
0 Replies

2. Windows & DOS: Issues & Discussions

Help with Windows to Unix connectivity

Hi Can we pass the parameter from the excel in windows and invoke the unix shell script from excel VBA by passing this parameter and get the results of shell script to the excel sheet? We tried to get the things in unix independently but we still strucked in connecting the excel to... (5 Replies)
Discussion started by: bikky6
5 Replies

3. Shell Programming and Scripting

Error in Sybase connectivity via UNIX

Helo Experts, I have an issue in connecting to sybase from UNIX. PFB, my code : #!/bin/ksh ############################################################################### # # Filename: docflo_split.sh # # Description:docflo_split.sh WrapperScript splits the temporary file... (1 Reply)
Discussion started by: Nits
1 Replies

4. Shell Programming and Scripting

Database connectivity using unix

Hi, I am trying to connect to the database through Unix serer using following command- mysql -u root -Jepadt -D dtdatabase But it giving me error - mysql: unknown option '-J' Can anybody help me to solve this problm Thanks in advance Please use code tags, thanks. (2 Replies)
Discussion started by: pspriyanka
2 Replies

5. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

6. Shell Programming and Scripting

Passwordless SSH from Unix to Solaris

I am trying to setup passwordless ssh via a script and I have taken my ssh pub key from server A and placed itin the authorized_keys file on server B, but I am still prompted for a password when trying to ssh from server A to server B. Server A is using 'OpenSSH_3.9p1, OpenSSL 0.9.7a' and Server B... (4 Replies)
Discussion started by: BillSchuchardt
4 Replies

7. Shell Programming and Scripting

Passwordless sftp from UNIX to windows site

Hallo all , I researched many article in this forum as well as googled. But could not get any help. I request the forum to extend some help. Issue: Want to do a passwordless sftp from an unix machine to windows action taken : 1) on local unix machine ssh-keygen -t dsa 2) Next step ,... (2 Replies)
Discussion started by: konark
2 Replies

8. Shell Programming and Scripting

Dos-Unix Connectivity

Hi, Is there any method to connect unix box(Excecuting unix commands through Batch Files) through DOS prompt. (1 Reply)
Discussion started by: shekhar_ssm
1 Replies

9. IP Networking

Sco Unix 4.3 Windows Connectivity

I have a client who is operating a SCO UNIX 4.3 server with Informix 4.12. My problem is that I need to get hold of the data using a Windows PC. Where the hell do I start? :confused: Thanks Richard. rgray@euriskotechnology.com (3 Replies)
Discussion started by: euriskotech
3 Replies
Login or Register to Ask a Question