07-19-2010
When I generate the key in SSH2, the key could not be associated to SSH1 as the key generation of SSH2 is different from SSH1.
Earlier I just configured both (target and source server are same as either SSH1 or SSH2) but do not have good knowledge of admin side of Unix/Linux.
10 More Discussions You Might Find Interesting
1. AIX
Hello all, hopefuly this is the right place to post this. I am having an issue with a new sftp process on an AIX box. I created id_rsa.pub file and sent it to the person who runs the sftp process. He added the key to the authorized_Users (I only have phone contact with him and its an outside... (7 Replies)
Discussion started by: dbridle
7 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to implement sftp between server 1 and server2.
I have already generated the public key using account user1 on server 1 and and sent it to the administrator of server2.
I have also finished updating the identification file at /home/user1/.ssh2
I have an account created... (11 Replies)
Discussion started by: tansha
11 Replies
3. UNIX for Advanced & Expert Users
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)
Discussion started by: james_falco
3 Replies
4. Shell Programming and Scripting
remotePath=$1
fileName=$2
remoteUser=$3
remoteServer=$4
echo " if ; then echo '0'; else echo '1'; fi " > temp_command.log
command1=`cat temp_command.log`
ssh $remoteUser@$remoteServer $command1
rm temp_command.log
Above code is to check whether the file in remote server is exist. It... (1 Reply)
Discussion started by: suigion
1 Replies
5. UNIX for Dummies Questions & Answers
I've been having troubles where i get locked out of shh and sftp. It happens overnight and when i come in the next day i have been locked out and can't seem to log in to the server through ssh or sftp. It is a co location server and each day i am having to have the hosts restart my server. When... (2 Replies)
Discussion started by: timgolding
2 Replies
6. SuSE
Hi eryone, I'm new here. Since I'm a graphic designer and not an admin, I need to learn a lot from the first step, so please be patient with me. ;-) Most of my skills are self taught with howtos, so there might be some lack of wisdom in basics. I've setup a Suse-System (9.3) with a few upload... (3 Replies)
Discussion started by: rezent
3 Replies
7. Shell Programming and Scripting
sftp username@host <<EOF
lcd /home/dirA
cd /home/dirB
mput *.txt
exit
EOF
Hi,
i have done the keygen-ssh settings but rite now I log through putty I enter my credentials and then when i successfully log in, then I issue the command ssh server name then I again enter into the server but... (1 Reply)
Discussion started by: rahulsxn660
1 Replies
8. Shell Programming and Scripting
Hi all,
I logged on to a Unix server and am trying to connect a remote Windows server (Windows NT) via SSH/SFTP. However I always got the following error,
sftp username@host_server (or ssh username@host_server)
ssh: connect to host host_server port 22: Connection refused
Any advise... (1 Reply)
Discussion started by: isaacniu
1 Replies
9. UNIX for Dummies Questions & Answers
Plz share how we can make a passwordless SSH connection from a SSH1 UNIX server to SSH2 UNIX server. (3 Replies)
Discussion started by: krishna87
3 Replies
10. Shell Programming and Scripting
I just discovered that my company cant use ssh because they have so wack way of retrieving files without using key-authication.
I need to convert a portion of my script form ssh to sftp.
Here I am logginginto the machine to print a list of files.
while read line; do
host=$line
ssh... (2 Replies)
Discussion started by: MJCreations
2 Replies
LEARN ABOUT DEBIAN
lsh-export-key
LSH-EXPORT-KEY(1) Lsh Manuals LSH-EXPORT-KEY(1)
NAME
lsh-export-key - Reads the key on stdin and output in OpenSSH/SSH2 format.
SYNOPSIS
lsh-export-key [OPTION...]
DESCRIPTION
CAUTION! The information in this manpage may be invalid or outdated. For authorative information on lsh, please see it's Texinfo manual
(see the SEE ALSO section).
The given key (supplied on stdin or in the file given with the --input-file option) is read and written to stdout (or the file supplied by
the --output-file option) in the desired format (fingerprint, OpenSSH format or SSH2/IETF style).
EXAMPLES
To convert the default public key (~/.lsh/identity.pub) to OpenSSH format (to put in authorized_keys on a host using the OpenSSH sshd).
$ lsh-export-key --openssh < ~/.lsh/identity.pub
To check the fingerprint of your servers key.
$ lsh-export-key --fingerprint < /etc/lsh_host_key.pub
MD5 fingerprint: b9:86:04:e0:89:2b:5b:c7:0c:2b:4b:3f:24:d2:41:59
Bubble Babble: xefes-vyrum-buduk-nihyr-zotan-sizyr-nazik-hukyv-biloc-caceg-taxyx
$
OPTIONS
-c, --comment=comment string
Add comment to output key.
--fingerprint
Show key fingerprint.
-o, --output-file=Filename Default is stdout
--openssh
Output key in openssh single-line format.
-r, --input-file=Filename
Default is stdin
-s, --subject=subject string
Add subject to output key.
--debug
Print huge amounts of debug information
--log-file=File name
Append messages to this file.
-q, --quiet
Suppress all warnings and diagnostic messages
--trace
Detailed trace
-v, --verbose
Verbose diagnostic messages
-?, --help
Give this help list
--usage
Give a short usage message
-V, --version
Print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
DIAGNOSTICS
See the --verbose , --trace and --debug options.
REPORTING BUGS
Report bugs to <bug-lsh@gnu.org>.
COPYING
The lsh suite of programs is distributed under the GNU General Public License; see the COPYING and AUTHORS files in the source distribution
for details.
AUTHOR
The lsh program suite is written mainly by Niels Moller <nisse@lysator.liu.se>.
This man-page was written for lsh 2.0 by Pontus Freyhult <pont_lsh@soua.net>, it is based on a template written by J.H.M. Dassen (Ray)
<jdassen@wi.LeidenUniv.nl>.
SEE ALSO
DSA(5), lsh(1), lsh-authorize(1), lsh-decode-key(1), lsh-decrypt-key(1), lsh-keygen(1), lsh-make-seed(1), lsh-upgrade(1), lsh-upgrade-
key(1), lsh-writekey(1), lshd(8), secsh(5), SHA(5), SPKI(5), ssh-conv(1)
The full documentation for lsh is maintained as a Texinfo manual. If the info and lsh programs are properly installed at your site, the
command
info lsh
should give you access to the complete manual.
LSH-EXPORT-KEY NOVEMBER 2004 LSH-EXPORT-KEY(1)