Connecting other server using ssh!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Connecting other server using ssh!
# 1  
Old 08-15-2008
Tools Connecting other server using ssh!

Hi All,

Here i am having a problem in my script....Smilie

i have one script which will connect from my linux box to antoher linux box..

let say...currently i am in 55.23.621.123
and i want to connect to another box which is 55.23.621.118

as we know we can connect using ssh 55.23.621.118@xuser:
then it will prombt for the password...

but i want to connect this server without password using my script...

eventhough it might be simple one...sorry i am new so i dont have any idea..where to check and what needs to be done..

can someone help me..plz

Thanks in advance..
Sha
# 2  
Old 08-15-2008
sorry ..there is small change in my notes...

normally we connect another box like below..

ssh xuser@55.23.621.118:

thanks
Sha
# 3  
Old 08-15-2008
Please use the search function of this forum - this is a regular asked question and has been answered several times Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Connecting remote SSH server which OSS lib to choose ?

Hey i want to be able to write simple SSH client to be able to connect to SSH server and invoke remote SSH command i found libssh and libssh2 and the old openSSh , what is the best and most supported library to choose from ? i need it to be cross platform . Thanks (0 Replies)
Discussion started by: umen
0 Replies

2. Red Hat

Connecting using SSH in WAN network

i have been learning linux from some time for linux plus exam and learned SSH protocol and have practised to connect to remote computer within Lan network and able to sucesssfully connect it . using ssh username@hostname But i wish to ask how do i use same ssh protocol to connect to other ... (6 Replies)
Discussion started by: lobsang
6 Replies

3. UNIX for Advanced & Expert Users

Connecting using ssh

We have 2 different servers say A and B and I want to check the log file of 2 servers simultaneously. If I am logged into server A how can I connect to server B. I have used ssh username@B.But it is asking password. How can I give the password on ssh. Or is there any other utility for... (2 Replies)
Discussion started by: jim john
2 Replies

4. IP Networking

Connecting via SSH with dynamic IP

My VPN setup requires me to allow users via IP in the firewall, before they can access the VPN via SSH. The problem is that my home IP is dynamic, and I have to re-add it every time I reconnect. Any ideas? (2 Replies)
Discussion started by: rlopes
2 Replies

5. Programming

Connecting ssh in java program

Hi I have been trying to connect a remote linux server in a java program through ssh. Can anyone tell me the proper library to include? Thanks Ananth (0 Replies)
Discussion started by: Ananthdoss
0 Replies

6. Shell Programming and Scripting

[solved] SSH connecting to one server but failed in another

Hello I have connected to a remote server via ssh but its not working now ,but the same method I applied in another server and its working fine now Below are the logs For Successfully connected server debug1: Authentications that can continue:... (1 Reply)
Discussion started by: Pratik4891
1 Replies

7. Linux

connecting to SSH

Well im on Fedora, and theres no sub section for Fedora so yea Well how do you connect to an SSH, while on a windows terminal? And also to transfer a file from my desktop to a server? how is this done scp command is not working for me (3 Replies)
Discussion started by: gangsta
3 Replies

8. Shell Programming and Scripting

connecting servers using SSH - help needed

Hi all, I have a script written successfully and tuned by our members, now I am trying to execute this script from a taxi server. My aim is I want to connect to four servers via ssh where I want to ran a script or run some commands and write the output to a file in the Taxi server. I... (12 Replies)
Discussion started by: senthilkumar_ak
12 Replies

9. Shell Programming and Scripting

ssh script for connecting unix system.

Hi All, I've a log file call netbackup.log in all the 5 servers in location usr/netbackup.log. I dont want to login in each server and check the log file. So i wanted to have a script written to have the log information at one place. I want to have the last 2 lines from the file... (2 Replies)
Discussion started by: suri.tyson
2 Replies

10. Solaris

trouble auto connecting ssh 3.6.1 (Solaris 8) to ssh 3.0.1 (Solaris 6)

I am currently setting up rdiff-backup to use ssh to connect and remotely backup and retrieve data. I am doing so by creating rsa keys for each server and copying the relevant key to the /.ssh folder on the relevant server. All seems to work well when severs running solaris 8 with ssh 3.6.1 are... (6 Replies)
Discussion started by: falklandtim
6 Replies
Login or Register to Ask a Question