I was given the ID_DSA.pub by an MVS user, which I placed in the appropriate user's authorized_keys file. When the user tris to SFTP from their side to the AIX box, the following error is got:
Can someone help me to fix this issue please? Is there something that I must be doing in addition?
Hi All,
I have written a script that transfers(FTP) files from Unix system to MVS system.
Below is the code for it.
ftp -inv $HOST<<ftp_test
quote site LRECL=200
quote site BLKSIZE=28000
mput SOURCE DEST
ftp_test
Here I need the help, if the above code can get... (3 Replies)
Hi all,
I have command to connect gateway server
iam in home directory/> ssh root@mrp-gateway
root@mrp-gateway:/root> sftp -v msgGoogle@126.132.45.123
sftp/>dir
upload --> folder
sftp/upload/ls
-------------
8990.txt
kittu.txt
8989.txt
i have an requirement to print files list which... (2 Replies)
Hi!!
SFTP5.0 is not working thru automatically pushing files, but manual file transfer is happening fine...
If anyone knows,Pls share the reason.
Regards,
Senthil (3 Replies)
Hi,
I want to try to connect to a DB2 (MVS) database from an AIX, through my c++ custom program. Is anybody who knows how can I do this? Which libraries should I use? Should I have a DB2 connect installed on my AIX?
Thank you in advance. (3 Replies)
hi,
i have to type a script that connect to a server SFTP(password not required) and run some easy command (e.g. ls,rm,mv,etc...).
I wrote into the script the connection-string and the other commands.
When I run it, it connects perfectly to the server but it stops at the home.
Here is... (8 Replies)
Hi Friends,
I have created a shell and which will sftp file1 from serverA to serverB. In sftp prompt on serverA it is showing the file1 is available on serverB. where as when connected to ServerB it is not showing the file1. How come this.
ServerA
sftp> ls
hsstest.dmp
sftp> pwd
Remote... (9 Replies)
Hi All,
I have a ftp link as "ftp://ftp1.xyz.org/abc_ike/". The same thing is opening fine when I use a browser. But I am not sure how to connect to the above link from console. I used the command
ftp ftp1.xyz.org
The above is not working. I am not getting any error it simply stands still.... (1 Reply)
Hi experts,
While trying to sftp from one the red hat linux box it is giving following error.
Status: Connecting to 10.1.82.155...
Response: fzSftp started
Command: open "prodbill@10.1.82.155" 22
Command: Pass: *********... (2 Replies)
Hi,
I am trying to connect to a windows server via sftp from a user A and my job did log into it via user B. So I uses the following command to connect to teh new server.
B>sftp -o IdentityFile=/pathtofile/id_rsa a@windows_server
and it worked. But I don't want to use private key. Can we... (6 Replies)
I'm trying to transfer a 1 GB file using sftp process. The process always gets disconnected in between (may be after 20%) file transfer when it runs from a batch script. If i do it in interactive mode, it works.. I checked with account admin to see the timeout option if any, but didn't help..... (2 Replies)
Discussion started by: Aswin Pillai
2 Replies
LEARN ABOUT LINUX
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 and append the indicated identity file to that machine's ~/.ssh/autho-
rized_keys file.
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.)
NOTES
This program does not modify the permissions of any pre-existing files or directories. Therefore, if the remote sshd has StrictModes set in
its configuration, then the user's home, ~/.ssh folder, and ~/.ssh/authorized_keys file may need to have group writability disabled manu-
ally, e.g. via
chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys
on the remote machine.
SEE ALSO ssh(1), ssh-agent(1), sshd(8)OpenSSH 14 November 1999 SSH-COPY-ID(1)