10-23-2011
Thank you for your reply!
It helped a lot and now I have managed to connect using SSH and public key. The main problem was the %D. According to the document you pointed out to me it could not be used which it was in this case. Since there had been people working on the machine I somewhat expected that it would be in somewhat useful state but obviously I was wrong. There was no authorization file either....
I asked people that had been working with SSH previously on this machine but did not get an answer that could help solving the problem.
Thank you!
This User Gave Thanks to Powerponken For This Post:
10 More Discussions You Might Find Interesting
1. AIX
Hi Everybody,
I have 2 Servers (AIX 4.3), recently I installed SSH in both servers successfuly. I can connect from one server to another using SSH. My problem is when I tried to connect from Windows workstation to one of these servers the connection timed out. I'm using PUTTY to connect to the... (12 Replies)
Discussion started by: aldowsary
12 Replies
2. UNIX for Dummies Questions & Answers
hi,
i have script that connects to a unix server. however, i want to add condition that if it cannot connects in 10 attemps, it will send email to me.
while -a ${COUNT} -lt 10]
./connect to server.
if status <> 0 then
email to me.
fi
Thanks a lot. (0 Replies)
Discussion started by: tungaw2004
0 Replies
3. Shell Programming and Scripting
Hi,
I am trying to connect to server using SSH command -
ssh -l <username>@<server> 22
But it just hangs there.. Any suggestions to connect via SSH will be of great help! (2 Replies)
Discussion started by: Sathy153
2 Replies
4. AIX
Hi,
I have created a new user as below:
useradd -g staff -s /usr/bin/ksh test2
passwd test2
<type in new password>
<type in new password>
and I could not login via ssh with this username while I can do it with another username.
Can anyone tell anything missing?
Thanks!
Victor (4 Replies)
Discussion started by: victorcheung
4 Replies
5. UNIX for Dummies Questions & Answers
Dear users
I have a question about connecting to remote servers using terminal
I can connect to one server by
ssh username@domain_of_first_server.com
and after logging into the above i have to connect to one more server
ssh name_of_second_server
bascically to be able to connect to the... (5 Replies)
Discussion started by: kevincobain2000
5 Replies
6. HP-UX
Hi,
I'm trying to connect from an HP-UX with SSH2 client(ssh2 3.1.2 on hppa1.1-hp-hpux11.00) to an SSH2 server on a VxWorks system. The SSH connection is failing with the below connection logs:
> /usr/local/bin/ssh2 -v -l testuser 10.10.10.10
debug: Ssh2/ssh2.c:1391: Using file... (4 Replies)
Discussion started by: ysafi
4 Replies
7. Solaris
Got a Solaris 10 server with two interfaces - 10.0.110.233 and 10.0.111.233.
I can ssh to 10.0.110.233 with no problems. But after a certain amount of time it just hangs. Nothing.
Then if I try to ssh to 10.0.110.233 again - times out. But I can still ssh to 10.0.111.233. And I can still ping... (1 Reply)
Discussion started by: psychocandy
1 Replies
8. HP-UX
Hi experts,
We are getting slow ssh session connections at HP-UX 11.31 servers.
We have set the parameters that maybe will affect , and commented at other theads at config file sshd_config :
UseDNS no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
GSSAPIAuthentication no.
... (7 Replies)
Discussion started by: SapBasisSystem
7 Replies
9. Shell Programming and Scripting
How to connect db2 IBM on AIX using SSH - SecureCRT ?
Please help me. (3 Replies)
Discussion started by: meomeo87
3 Replies
10. Shell Programming and Scripting
hi,
i have some servers on my network.
i need to connect to them auto from my work station sith SSH.
i need to write a script thet connects to the server with USERNAME and PASSWORD automticly.
and on each server to kill process.
in my sciprt i want to put all list the IP of my... (1 Reply)
Discussion started by: zigizag
1 Replies
LEARN ABOUT DEBIAN
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)