05-20-2008
SSH Remote Server issue
I have a script that connects to remote servers using a public key. Some of the servers are not set up for the public key and I receive the following when I attempt to ssh: The authenticity of host 'XXX' can't be established.
RSA key fingerprint is C4:6e:7e:37:38:3d:3a:0c:c1:42:d5:86:36:5f:b8:19.
Are you sure you want to continue connecting (yes/no)?
Is there anything I can put around my ssh so that when I receive this, I can just abort the attempt to connect?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Not sure if this is possible, I have a server (SERVER1) that is currently set up as a remote SSH host. My client SSH host (SERVER2) is connecting to SERVER1 to scp a file with no password.
I now have a need to set up a third server (SERVER3) as a remote SSH host and I need SERVER1 as a... (4 Replies)
Discussion started by: tatchel
4 Replies
2. Shell Programming and Scripting
Hello,
I have about 90 servers that I need to update snmp configs. I am trying to write a script that will echo 4 new lines of text into the snmpd.conf file. I have tested it locally and it works when the server ssh into itself but when I try to run the script to ssh into a remote server it logs... (5 Replies)
Discussion started by: mr_dthomas
5 Replies
3. Red Hat
hi all
i am unable to connect remote server using ssh but i am able to ping the server
ssh service is running. (5 Replies)
Discussion started by: nikhil kasar
5 Replies
4. Ubuntu
Hi
I hope someone can spot what is wrong with this ssh connection as it has me baffled.
I am trying to set up a remote ssh connection (passwordless) to a remote 'server', (Ubuntu laptop at home).
I have tried these steps with rsa and dsa key types, (currently dsa) -
1) ssh-keygen... (4 Replies)
Discussion started by: steadyonabix
4 Replies
5. Shell Programming and Scripting
hi All,
cat login.list
server1 userid1
server2 userid2
server3 userid3
----------------------------------------
#SSHSCRIPT.ksh
FILE=login.list
while read vah vah_id
do
ssh $vah -l $vah_id "pwd"
done < "$FILE"
-----------------------------------------
When i... (2 Replies)
Discussion started by: raghur77
2 Replies
6. Shell Programming and Scripting
Hi All,
I need to prepare a script.
Description:
Currently i am in server "x(ubuntu os)", here i need to develop a script to ssh to another server "y(ubuntu os)", i have password less authentication to "y". i have done the below
#!/bin/bash
#ssh to the server "y" and confirming i am... (2 Replies)
Discussion started by: kumar85shiv
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have two SunOs sparc servers mac1 and mac2.
I have exchanged keys between them inorder to passwordless login ssh from mac1 to mac2.
However, it is failing after authentication.
Part of the debug is as below. Please suggest whats wrong and how do i fix that!! Note: i do not have... (1 Reply)
Discussion started by: mohtashims
1 Replies
8. Shell Programming and Scripting
Team,
Presently I have 5 ip address kept in ip_abc1 file, for each of the ip address listed, i need to login on each ipaddress
one at a time and login as below for that specific ip address
ssh -p 8101 karaf@<ip.address_for the specific ip address as logged in>
password
features:list... (4 Replies)
Discussion started by: whizkidash
4 Replies
9. Shell Programming and Scripting
Hi,
I need to ssh remotely to a machine and cat a file assign the value to a variable
Script:
#!/bin/bash -x
value=`cat config.txt`
echo "$value"
ssh me@xxx.host.com "valu='cat /export/home/test.md5'; echo "$valu"" | tee
Execution:
$ ./x
++ cat config.txt
+ value='touch me'
+... (5 Replies)
Discussion started by: close2jay
5 Replies
bssh/bvnc/bshell(1) General Commands Manual bssh/bvnc/bshell(1)
NAME
bssh/bvnc/bshell - Browse for SSH/VNC servers on the local network
SYNOPSIS
bssh
bvnc
bshell
DESCRIPTION
bssh/bvnc/bshell browses for SSH/VNC servers on the local network, shows them in a GUI for the user to select one and finally calls
ssh/vncviewer after a selection was made.
If the binary is called as bssh only ssh servers will be shown. If the binary is called as bvnc only VNC servers will be shown. If the
binary is called as bshell both VNC and SSH servers are shown.
OPTIONS
-s | --ssh
Browse for SSH servers (and only SSH servers) regardless under which name the binary is called.
-v | --vnc
Browse for VNC servers (and only VNC servers) regardless under which name the binary is called.
-S | --shell
Browse for both VNC and SSH servers regardless under which name the binary is called.
-d | --domain= DOMAIN
Browse in the specified domain. If omitted bssh/bvnc/bshell will browse in the default browsing domain (usually .local)
-h | --help
Show help.
AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
SEE ALSO
avahi-browse(1), ssh(1), vncviewer(1)
COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User bssh/bvnc/bshell(1)