sftp Unspecified GSS failure Minor code may provide more information No credentials cache found
Hi
I have managed on numerous machine to set up sftp not too require a password - i finally have one that does not work and Im at a loss - looked around checked permissions etc
The 2 machines Ill call then source and target I need to sftp from source to target (previously the target has always been the same with different users)
on source entered
(used empty passphrase)
copied .ssh/id_dsa.pub to target as the user i want to use to log in as
.ssh/authorized_keys2 and .ssh/authorized_keys
on source logged in manually to save as known host
now when i try from the source
I get
and then prompts me for a password ....
any help much appreciated
daryl
Last edited by Scrutinizer; 05-07-2012 at 10:36 AM..
Reason: code tags
tipotheday.com/2007/09/24/howto-ssh-without-a-password/
- add http:// i cant post a link I dont have enough posts
has the solution I found the link on one of the many posts in this forum - this was the first time i saw stuff about chmod on the target impacting the access (600 for authorized_keys and voila it works)
I want to transfer all details of sftp connection into a log file and spawn sftp $PCMSu@$FTP_LOC >> log_file is not working for me. Please suggest how to send the data to a log file that has all information if sftp connection is successful or not?
Script that I am using:
#!/usr/bin/expect... (7 Replies)
Hi ,
I need to write a IF condition to know if a SFTP file transfer is successful or not and send email if its failed.
`sftp username@servername <<comm1
cd /directory
put filename
comm1
bye`
I use above commands for my connections. So please help me to write a IF statement.
... (0 Replies)
I am trying to send a file from my 9000 box to a vendor using sftp and I am getting this error: Couldn't close file: Failure
Here are the results of my automated script:
Connected to yyy.com.
sftp> pwd
Remote working directory: /
sftp> cd xxxxx/yyyyy_TEST/TEST
sftp> put FILE FILETEST... (1 Reply)
Hello,
Sometimes when i execute my shell that makes sftp it gives me this error:
Couldn't close file: Failure.
What does it mean?, how can i make sure it will do ok?.
Bye (2 Replies)
Hello Gurus
I am new to HPUX so kindly help me by providing information related to HPUX. I would like to know the date when HPUX 11i v3 comes in to market as well as I have H3056S student guide dated May 2005 which I download through some site. Now I want to know its a HPUX 11i v2 or HPUX 11i... (8 Replies)
I updated the Suse linux 10.0 OS online .The sysem ask me to reboot to take effects.I do so.But the OS do not load and show the message "Error 15 - The file was not found" What can I Do? It does not login to failesafe mode also.May I do reinstall the os through the cd ? Then HOW? I am Very New the... (0 Replies)
Hi,
I am having unix server SUNW,Sun-Fire-V245.
remote windows server details: Microsoft Windows
In my script i am sftp'ing files to the windows server through sftp command.
But the problem i am facing is, some files are successfully sftp'd to windows server and for some files sftp is... (0 Replies)
Hello,
I just want to ask regarding the meaning of the error that we got using sftp:
Connecting to <TARGET SERVER IP>...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @... (3 Replies)
anybody please tell me how do i get all the information
about buffer cache in hp-ux .if anybody familiar with the system
call them please specify .
i found the extern variables in /sys/buf.h . but that didn't help .:) (2 Replies)