10 More Discussions You Might Find Interesting
1. Solaris
Hi All,
I have automated the file transfer process using shell script.I used passwordless SCP to copy the files to my remote server as below.
scp -P 2022 -v Test.dat username@Host:destination_folder
But the files are not copied to the destination folder.The execution is terminated with... (1 Reply)
Discussion started by: Syruss
1 Replies
2. UNIX for Dummies Questions & Answers
I am trying to copy a file from a remote linux server to my local ubuntu box. I am issuing the following command:
scp -v root@remote_server_IP:/test /data
The output of the command is :
OpenSSH_6.6, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config... (3 Replies)
Discussion started by: Palak Sharma
3 Replies
3. Solaris
Dear expert,
I have gone through the thread
A similar error arising for me , please find the debug logs.
I have tried from another server to push a file using scp but not working for me.
i am using SunOS SUNW,SPARC-Enterprise machine.
Thanks (5 Replies)
Discussion started by: posix
5 Replies
4. AIX
I try to transfer a file from a Linux host to an AIX-host via scp, which fails. Logging into the AIX-system from the same Linux-system via ssh works well and i am a bit at a loss where to look.
The original setup was with a user account provided via LDAP, but because of the error message (see... (4 Replies)
Discussion started by: bakunin
4 Replies
5. Shell Programming and Scripting
Hi All,
I am generating a ~ delimited file from oracle table and then transfer it to another server through scp.
if
then
scp $COM_DIR/ABC.txt unix.nam.nsroot.net:/home/magna/dum/ABC.txt
else
echo "File does not exist, please check" >>$LOG
fi
The script generates the file,... (8 Replies)
Discussion started by: Amit.Sagpariya
8 Replies
6. Shell Programming and Scripting
Hi all
Iam using ssh and trying to change to a different user but im not able to do it.
--------
Script.sh
ssh user@hostname
sudo rootsh
whoami
--------
--------
Script2.sh
ssh user@hostname
su - username password
whoami
---------
When i run the Script.sh it is connecting to... (4 Replies)
Discussion started by: coolkid
4 Replies
7. Solaris
Thanks to this forum, I was able to get a program running that uses SSH to control programs running on other hosts. Now I'd like to enhance it.
The control program on the target hosts occassionally needs to be updated. Updating the menu program on the source host is easy as it is on one host. ... (1 Reply)
Discussion started by: PabloCruise77
1 Replies
8. Shell Programming and Scripting
I am scp'ing a file from a server (servera) to my server (serverb)
If servera is down - the scp never times out ... it just hangs eternally..
It is possible to specify a timeout in my script - so if scp fails/hang for more than 60 seconds I assume its failed ?
I am aware there is some... (3 Replies)
Discussion started by: frustrated1
3 Replies
9. BSD
I can't get ssh ans scp to work between to host on my network. I am prompted for the password and it isn't accepting the password and I know the password is correct because I am using the root password. What do I need to do to get ssh working between the two host and scp. I can putty into the... (2 Replies)
Discussion started by: rbizzell
2 Replies
10. Shell Programming and Scripting
The following ksh script is trying to get a file's cksum then, scp it over to a remote machine - get the cksum there and then compare the two cksums to make sure they match. I am having problems setting a variable on the remote host where it can be read locally. Is this even possible - reading a... (1 Reply)
Discussion started by: berrean
1 Replies