04-27-2015
There was a typo mistake in authorized_keys. Corrected.
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am trying to get my CVS client to connect to the repository over ssh. ssh works - I can quite happily log on but when I use the client - which incidentally is eclipse 2.1.3 on Windows using plink/puTTY as an external connection method - I get the following error in /var/log/secure:
error:... (2 Replies)
Discussion started by: Jdogg
2 Replies
2. Linux
I am trying to upload a file using SSH .
it gives me error "Encounteted 1 errors during the transfer"
WHere do I see the error ?
why am i getting it ?
thanks
:) (1 Reply)
Discussion started by: upirate
1 Replies
3. UNIX for Advanced & Expert Users
Hi - I am getting the error
`Error reading response length from authentication socket'
when I ssh from my cluster to another cluster, and then back to my cluster. It doesn't seem to affect anything, but it's just annoying that it always pops up and tends to confuse new users of the cluster. I... (1 Reply)
Discussion started by: cpp6f
1 Replies
4. Ubuntu
I 'm getting following error when i do
#ssh localhost or # ssh ip
ssh: cannot connect to localhost at port 22: Address family not supported by protocol.
what could be the reason for this .. i 'm new to ubuntu and having hard time getting the VM online on network (4 Replies)
Discussion started by: fugitive
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I'm executing the set of commands in remote machine via ssh command. But the control is not even going inside the if statement (not echo-ing anything).
/usr/bin/ssh ${2}@${1} <<EOF >/var/tmp/housekeeping_${1}_${2}_`date +%Y%m%d%H%M%S`.log
if ; then
echo -e "File system is 100%... (15 Replies)
Discussion started by: apsprabhu
15 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I using ssh-keygen for passwordless authenciation firstly
and I am following these steps mentioned below...
1) Login to pngpcdb1 using your user/pass
2) type 'bash' (without quotes)
3) ssh-keygen #generates private and public key.
4) copy this private key to the location of your sftp... (1 Reply)
Discussion started by: karan2597
1 Replies
7. Cybersecurity
I have been asked to look at a problem with implementing SSH on an HP-UX server which a colleague has set up. Users connect through PuTTY. When I try to establish a connection I see the following message:
Usage: -ssh host
Options:
-l user Log in using this user name.
-n ... (6 Replies)
Discussion started by: j_wealleans
6 Replies
8. Shell Programming and Scripting
Hi All,
I am using below command in a shell script.
ssh -q RemoteUser@RemoteServer "/export/sctipt/test.ksh"
It is executing succesfully but the below is the output getting displayed.
tset: standard error: Invalid argument
Can you please help me in understanding below.
... (8 Replies)
Discussion started by: Girish19
8 Replies
9. Shell Programming and Scripting
Hello,
I have simple ssh command which is throwing "syntax error: `(' unexpected" error. Below is the command. Could someone please advise on whats wrong with command.
#!/bin/bash
ssh user@host "ENDJOB JOB(I5OSDRV)"
I have tried `,'. but no luck.
Thanks. (4 Replies)
Discussion started by: s_linux
4 Replies
10. Shell Programming and Scripting
Hi,
I'm getting error while getting output of home directories for multiple servers. Could anyone please help; (using HP-UX; shell=ksh)
SERVERLIST=serverlist.txt
OUTPUTLIST=output.txt
for host in $(cat ${SERVERLIST})
do
ssh $(host) "`hostname`;`echo $HOME`" > ${OUTPUTLIST}
done... (9 Replies)
Discussion started by: sam_bd
9 Replies
LEARN ABOUT FREEBSD
ssh-copy-id
SSH-COPY-ID(1) BSD General Commands Manual SSH-COPY-ID(1)
NAME
ssh-copy-id -- copy public keys to a remote host
SYNOPSIS
ssh-copy-id [-lv] [-i keyfile] [-o option] [-p port] [user@]hostname
DESCRIPTION
The ssh-copy-id utility copies public keys to a remote host's ~/.ssh/authorized_keys file (creating the file and directory, if required).
The following options are available:
-i file
Copy the public key contained in file. This option can be specified multiple times and can be combined with the -l option. If a
private key is specified and a public key is found then the public key will be used.
-l Copy the keys currently held by ssh-agent(1). This is the default if the -i option was not specified.
-o ssh-option
Pass this option directly to ssh(1). This option can be specified multiple times.
-p port
Connect to the specified port on the remote host instead of the default.
-v Pass -v to ssh(1).
The remaining arguments are a list of remote hosts to connect to, each one optionally qualified by a user name.
EXIT STATUS
The ssh-copy-id utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
To send a specific key to multiple hosts:
$ ssh-copy-id -i /path/to/keyfile.pub user@host1 user@host2 user@host3
HISTORY
The ssh-copy-id utility was written by Eitan Adler <eadler@FreeBSD.org> as a drop-in replacement for an existing utility included with
OpenSSH.
BSD
February 28, 2014 BSD