06-15-2005
automatic sftp
I have tried the below method on solaris 9 running ssh -V
SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.
http://acd.ucar.edu/~fredrick/mpark/ssh/rsa-unix.html
It still prompts me for password, not sure why, I have followed the directions to a teeth. Any suggestions?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Suppose I have a script under user A, which calls a script under user B (this script should be run using user B). How can I change the user (along with supplying the password) automatically in the script (a command similar to su)?
Thank you in advance
Best Regards (1 Reply)
Discussion started by: omran
1 Replies
2. UNIX for Dummies Questions & Answers
Evry time I start up my mavhine ,have to type in unix at
Boot
:
Is there a way unix should bootup automatically?
Asif (2 Replies)
Discussion started by: asif iqbal
2 Replies
3. Shell Programming and Scripting
Hi,
Is there a way to automatically SFTP like automatic FTP option used below
ftp -nv hostname << DONE
user username password
get file
quit
DONE
If yes please let me know the script. :rolleyes:
Thanks,
Dayanand. (1 Reply)
Discussion started by: dayanand
1 Replies
4. Shell Programming and Scripting
Hi
I am looking for automatic FTP script from UNIX to UNIX servers. I have two problems that anyone may help:
1- The directory where the files have to be FTPed is varied, where it is identified by the date of today (YYYYMMDD)
2- the files come every 15 minutes and named by the time with form... (2 Replies)
Discussion started by: akhadoor
2 Replies
5. Shell Programming and Scripting
Hi All ,
I am writing a shell script for a 3D test case . The 3D Test case involves the user to press some keys to see the changes in the 3d test case . The user has to press p , r , a , z etc to observe the changes on screen .
Now please let me know how can i implement the keystroke p , a ,... (1 Reply)
Discussion started by: dskonnur
1 Replies
6. Shell Programming and Scripting
Hi,
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
do
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
fi
done< files.txt
sftp -b sftpCommand.txt stu@192.168.2.1
The above... (1 Reply)
Discussion started by: noobrobot
1 Replies
7. Programming
I would like to create console application in c# to automate the process of downloading some files from a SFTP server to my local hard drive at a set time each week/day.
SFTP Server installed OpenSSH for windows and client machine also.
Any ideas how I could do such a task? or sample code.
... (0 Replies)
Discussion started by: sufiiyan
0 Replies
8. Shell Programming and Scripting
I need to automate a file transfer thru SFTP. But I cannot do a passwordless key with ssh-keygen between the servers. Is there any other way like we do something like below in FTP???
ftp -n hostIP << EOF
user userid password
get filename
EOF
Please use code tags! (5 Replies)
Discussion started by: Vidhyaprakash
5 Replies
9. Red Hat
Hello,
I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration.
#pwd... (8 Replies)
Discussion started by: bobby320
8 Replies
10. Shell Programming and Scripting
I had the below sftp script working perfectly but the problem is I am not able to send the echo statements .
#!/bin/sh
echo "Starting to sftp..."
sftp admin@myip << END_SCRIPT
cd /remotepath/
lcd /localpath/
mget myfiles*.csv
bye
END_SCRIPT
echo "Sftp successfully."
echo
echo... (11 Replies)
Discussion started by: scriptscript
11 Replies
LEARN ABOUT DEBIAN
gnome-ssh-askpass
GNOME-SSH-ASKPASS(1) General Commands Manual GNOME-SSH-ASKPASS(1)
NAME
gnome-ssh-askpass - prompts a user for a passphrase using GNOME
SYNOPSIS
gnome-ssh-askpass
DESCRIPTION
gnome-ssh-askpass is a GNOME-based passphrase dialog for use with OpenSSH. It is intended to be called by the ssh-add(1) program and not
invoked directly. It allows ssh-add(1) to obtain a passphrase from a user, even if not connected to a terminal (assuming that an X display
is available). This happens automatically in the case where ssh-add is invoked from one's ~/.xsession or as one of the GNOME startup pro-
grams, for example.
In order to be called automatically by ssh-add, gnome-ssh-askpass should be installed as /usr/bin/ssh-askpass.
ENVIRONMENT VARIABLES
The following environment variables are recognized:
GNOME_SSH_ASKPASS_GRAB_SERVER
Causes gnome-ssh-askpass to grab the X server before asking for a passphrase.
GNOME_SSH_ASKPASS_GRAB_POINTER
Causes gnome-ssh-askpass to grab the mouse pointer using gdk_pointer_grab() before asking for a passphrase.
Regardless of whether either of these environment variables is set, gnome-ssh-askpass will grab the keyboard using gdk_keyboard_grab().
AUTHOR
This manual page was written by Colin Watson <cjwatson@debian.org> for the Debian system (but may be used by others). It was based on that
for x11-ssh-askpass by Philip Hands.
GNOME-SSH-ASKPASS(1)