01-17-2013
SSH HELP how to connect auto?
hi,
i have some servers on my network.
i need to connect to them auto from my work station sith SSH.
i need to write a script thet connects to the server with USERNAME and PASSWORD automticly.
and on each server to kill process.
in my sciprt i want to put all list the IP of my servers.
10x!!
10 More Discussions You Might Find Interesting
1. Solaris
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
2. Shell Programming and Scripting
Hi all,
Till now i am using .netrc file for auto-connection to connect to remote system. my shell script contains like below code
ex: ftp -i <remote system name>
from now i should NOT use .netrc file
how can i login automativally with out asking userid and pqssword.
note: i am working on... (1 Reply)
Discussion started by: getgopu25
1 Replies
3. UNIX for Dummies Questions & Answers
logon to a client unix box as user "evil"
>
>su - hero
enter evil's password
>hero$> ssh-kengen -t dsa
no passphase, id_dsa / id_dsa.pub generated.
>hero$> scp /home/hero/.ssh/id_dsa.pub evil@scp_server:/tmp/id_dsa.pub
now the scp_server,
logon as evil
>su - hero
>hero>mv... (0 Replies)
Discussion started by: cititester
0 Replies
4. Solaris
Hi all,
Is there is any feature to auto-logout in OpenSSH 3.6.1p2, If yes then how to disable that because i am getting auto-logout within an hour when i am idle from SSH Server.
Thanks in advance.
https://www.unix.com/images/misc/progress.gif (3 Replies)
Discussion started by: daya.pandit
3 Replies
5. Linux
Hi all,
Is there is any feature to auto-logout in OpenSSH 3.6.1p2, If yes then how to disable that because i am getting auto-logout within an hour when i am idle from SSH Server.
Thanks in advance. (4 Replies)
Discussion started by: daya.pandit
4 Replies
6. AIX
Hi,
I have created a new user as below:
useradd -g staff -s /usr/bin/ksh test2
passwd test2
<type in new password>
<type in new password>
and I could not login via ssh with this username while I can do it with another username.
Can anyone tell anything missing?
Thanks!
Victor (4 Replies)
Discussion started by: victorcheung
4 Replies
7. Shell Programming and Scripting
I need a script which connects to vpn (asks for password) then when its connected starts a terminal connection to a specified ip address. Can somebody help me with this please?
Thank you in advance (0 Replies)
Discussion started by: dsax64
0 Replies
8. Shell Programming and Scripting
Hi,
While trying to supress password prompt using ssh. I have added .ssh folder manually and generated public key and added to authorized_keys file in the remote machine. But still it's prompting for passwords with the following message:
Permission denied... (5 Replies)
Discussion started by: 116@434
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a generic id say "abc". In a client i logged into using this generic id and generated the key for autologin to do ssh to a server.
I have kept the key in authorized_keys file in the server under the home directory of this generic id. (/u/abc/.ssh/authorized_keys)
when i do... (7 Replies)
Discussion started by: rbalaj16
7 Replies
10. Shell Programming and Scripting
Hi Guys!!
I am trying to get around the complex situation, i have a task to complete, Like to setup the remote SSH key automatically by providing the root login details, ip and ssh port once to the script input and once its tested and accepted the next ssh should be password less,
script... (0 Replies)
Discussion started by: SilvesterJ
0 Replies
LEARN ABOUT REDHAT
adsl-setup
ADSL-SETUP(8) System Manager's Manual ADSL-SETUP(8)
NAME
adsl-setup - Shell script to configure Roaring Penguin PPPoE client
SYNOPSIS
adsl-setup
DESCRIPTION
adsl-setup is a shell script which prompts you for various pieces of information and sets up an /etc/sysconfig/network-scripts/ifcfg-ppp0
configuration script for the adsl-start, adsl-stop and adsl-connect scripts.
AUTHOR
adsl-setup was written by David F. Skoll <dfs@roaringpenguin.com>.
The pppoe home page is http://www.roaringpenguin.com/pppoe/.
SEE ALSO
pppoe(8), adsl-start(8), adsl-stop(8), adsl-connect(8), pppd(8), pppoe.conf(5), adsl-status(8), pppoe-sniff(8), pppoe-relay(8), pppoe-
server(8)
4th Berkeley Distribution 21 February 2000 ADSL-SETUP(8)