10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm getting error while getting output of home directories for multiple servers. Could anyone please help; (using HP-UX; shell=ksh)
SERVERLIST=serverlist.txt
OUTPUTLIST=output.txt
for host in $(cat ${SERVERLIST})
do
ssh $(host) "`hostname`;`echo $HOME`" > ${OUTPUTLIST}
done... (9 Replies)
Discussion started by: sam_bd
9 Replies
2. Shell Programming and Scripting
Hello,
I have simple ssh command which is throwing "syntax error: `(' unexpected" error. Below is the command. Could someone please advise on whats wrong with command.
#!/bin/bash
ssh user@host "ENDJOB JOB(I5OSDRV)"
I have tried `,'. but no luck.
Thanks. (4 Replies)
Discussion started by: s_linux
4 Replies
3. Red Hat
ssh -q <remote_server> <command> is not working for only one remote server.
From the source, we are able to connect other servers using the above command but one. All the servers are in same network and no selinux/iptables enabled.
The verbose output has the following message -
debug1:... (4 Replies)
Discussion started by: atanubanerji
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
is it possible to download/retrieve a public SSH key when you are logged in to the remote machine rather than sending the key, for example with ssh-copy-id from your local machine to the remote machine?
I can only ssh into one direction (from the remote machine into the local machine),... (5 Replies)
Discussion started by: gczychi
5 Replies
5. Shell Programming and Scripting
Hi guys!
I hope this hasn't been asked too many times but,
Would someone be able to help me write or point me in the direction to some helpful tutorials in order to write a script to transfer a file directly to a server via SSH from a linux based computer.
The script should do as following:... (2 Replies)
Discussion started by: craigwilkinson
2 Replies
6. UNIX for Dummies Questions & Answers
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an... (1 Reply)
Discussion started by: ment0smintz
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I using ssh-keygen for passwordless authenciation firstly
and I am following these steps mentioned below...
1) Login to pngpcdb1 using your user/pass
2) type 'bash' (without quotes)
3) ssh-keygen #generates private and public key.
4) copy this private key to the location of your sftp... (1 Reply)
Discussion started by: karan2597
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
I'm executing the set of commands in remote machine via ssh command. But the control is not even going inside the if statement (not echo-ing anything).
/usr/bin/ssh ${2}@${1} <<EOF >/var/tmp/housekeeping_${1}_${2}_`date +%Y%m%d%H%M%S`.log
if ; then
echo -e "File system is 100%... (15 Replies)
Discussion started by: apsprabhu
15 Replies
9. UNIX for Advanced & Expert Users
Hi - I am getting the error
`Error reading response length from authentication socket'
when I ssh from my cluster to another cluster, and then back to my cluster. It doesn't seem to affect anything, but it's just annoying that it always pops up and tends to confuse new users of the cluster. I... (1 Reply)
Discussion started by: cpp6f
1 Replies
10. UNIX for Dummies Questions & Answers
Hi, new to the forum and new to unix. I have a question. I am using PuTTY on my local machine and I want to upload a file to a remote server. Whats the best way to do it? SFTP??? I'm lost on this one. I just want to put one file on the server whats the command to do so?
thanks (2 Replies)
Discussion started by: mike314
2 Replies