05-30-2011
Quote:
Originally Posted by
Corona688
If you need to enter a password into telnet, you'll pretty much have to use the expect language.
Do you really need to use telnet? why not ssh?
On my server . there is not install except and I have to do telnet/ssh, can you please help me to write a ssh script which can able to do so ???
thanks
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Guys,
For the past month, our sun solaris server has rebooted itself 3 times. The sysadmin is saying that is not a sun issue and does not want to carry out any further research with sun about that. The db logfile does not show anything about any db issues at that time. I opened an oracle TAR... (3 Replies)
Discussion started by: mnjanje
3 Replies
2. Shell Programming and Scripting
Hi,
I am trying to automate FTP login to a remote server and put a file there. But no matter what i do, It still is aksing me for the login and password although i have it defined in the variable.
Could you tell me what is wrong with this script. I am doing this on SUN server.
Pls... (11 Replies)
Discussion started by: systemali
11 Replies
3. Programming
Hi,
I am a not strong programmer and now my boss ask me how should I do a job to automated FTP that have error check.
I know about:
* using system() to call a command to trigger ftp in C Coding.
The senarios as follows:
1. FTP the file(s) (e.g ELA_20060407.dat) to a given LAN server... (1 Reply)
Discussion started by: songtam
1 Replies
4. Ubuntu
I am new in Ubuntu and i use Ubuntu 7.10, and have problem to mount automatic when i reboot computer,
Here is my /etc/fstab
192.168.0.91:/home/DATA/it /home/USER/usertest/Documents/Z nfs defaults 0 0
I try many option in that line, but the result is same, I cannot automatic mounting the... (5 Replies)
Discussion started by: blesets
5 Replies
5. Solaris
Hi All,
3 of my SAP sun server are continuosly pinging to the network address 0.0.0.0. I have no idea how this can happen, but they have something in common. All of them are clustered environment (Veritas Cluster). Anyone can help?
rgds, (5 Replies)
Discussion started by: ronny_nch
5 Replies
6. Shell Programming and Scripting
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
I have to write a script, which is ran... (0 Replies)
Discussion started by: atul9806
0 Replies
7. Homework & Coursework Questions
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
1. The problem statement, all variables... (0 Replies)
Discussion started by: atul9806
0 Replies
8. Shell Programming and Scripting
I want the text based Star Wars movie at towel.blinkenlights.nl to loop infinitely.
It plays the movie and then disconnects my session? Can anyone think of a way to make my unix machine automatically reconnect over and over?
EDIT
no commands are required are the connection its just in and... (3 Replies)
Discussion started by: herot
3 Replies
9. Cybersecurity
Hi,
After running 'nessus' tool to find the Vulnerability in server
OS - RHEL 5
we got "
Web Server Allows Password Auto-Completion (PCI-DSS variant)"
link for description provided by tools - report
Nessus Plugins | Tenable Network Security
I have checked - Their is only... (1 Reply)
Discussion started by: saurabh84g
1 Replies
LEARN ABOUT SUSE
ssh-copy-id
SSH-COPY-ID(1) General Commands Manual SSH-COPY-ID(1)
NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys
SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine
DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine (presumably using a login password, so password authentication should be
enabled, unless you've done some clever use of multiple identities)
It also changes the permissions of the remote user's home, ~/.ssh, and ~/.ssh/authorized_keys to remove group writability (which would oth-
erwise prevent you from logging in, if the remote sshd has StrictModes set in its configuration).
If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your
ssh-agent. Otherwise, if this:
ssh-add -L
provides any output, it uses that in preference to the identity file.
If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin-
gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory,
if necessary)
SEE ALSO
ssh(1), ssh-agent(1), sshd(8)
OpenSSH 14 November 1999 SSH-COPY-ID(1)