Iam using the following command to get the details from a remote server.
The control will not come out once I run this command.
I have set up the required public/private key between server1 and server2 and it works fine.
The contents of test1.sh is as follows: ---------------------------------------------------------------- -------------------------------------------------------------------
This is an MQ command. The same command
runs fine when I login to server2 run it.
Can anyone tell me how to solve this?
Thanks Balaji.
Last edited by vbe; 05-11-2011 at 10:30 AM..
Reason: code tags!
Hi,
Just recently we seem to be getting the following error message relating to SSH when we run the UNIX script in background mode:
warning: You have no controlling tty. Cannot read confirmation.^M
warning: Authentication failed.^M
Disconnected; key exchange or algorithm negotiation... (1 Reply)
Hi,
What the problem is that we have a client that has now decided to use SSH protocol 2 only for their internal security audit. This is not a problem except now our SCO system will not connect.
I can connect with putty from a windows box fine until the SCO system tries to access which then... (0 Replies)
Hi
I am using ssh and facing problem. When I execute a command which is my application specific it hangs after giving initial message.Program does not return to command prompt but process is completed in background.
e.g I run following command
$ dtsbackup... (4 Replies)
Hi All,
I get the following error message when i try to ssh to a node
ssh_exchange_identification: Connection closed by remote host
this is the output when i run in verbose mode
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data... (1 Reply)
Hi
Please help me with the following problem with my script.
The following block of code is not repeating in the while loop and exiting after searching for first message.
input_file
==========
host001-01
host001-02
2008-07-23 13:02:04,651 ConnectionFactory - Setting session state... (2 Replies)
Hey,
I have a Red Hat 5.2 machine with :
2.6.18-92.el5 kernel
PRM's:
openssh-4.3p2-29.el5
openssh-clients-4.3p2-29.el5
openssl-0.9.8e-7.el5
openssh-server-4.3p2-29.el5
openssl-0.9.8b-10.el5
openssl-devel-0.9.8e-7.el5
openssh-askpass-4.3p2-29.el5
I'm trying to transfer files to a... (2 Replies)
Hello,
i have 10 machines, machine A execute this script:
This is my script:
nb_lignes=`wc -l $1 | cut -d " " -f1`
for i in $(seq $(($nb_lignes - 1)) )
do
machine=`head $1 -n $i | tail -1`
machine1=`head $1 -n $nb_lignes | tail -1`
ssh root@$machine -x " scp /home/file.txt... (7 Replies)
Hi guys.
I am using VirtualBox to run Solaris on my host (Windows 7) .
I have setup networking and am able to ping from Solaris to Windows 7 and vice versa.
Now I want to be able to SSH from Windows 7 to my guest (Solaris)
On solaris , the output to
ps -ef | grep ssh shows:
... (8 Replies)
Hi ,
I have done the following things, but still i am not able to connect remote system without enter password.
steps:
1) ssh-keygen -t rsa
2) transfered id_rsa.pub file into remote server.
3) I hve redirect id_rsa.pub content to authorized_keys file.
Note: I have done the same in another... (6 Replies)
I am able to login to server x from y in shell script. But after that command is get executed on server y. I need the command to be executed on server x.
Ex.
ssh -n 0.0.0.X
ls -ltr
Above script I am executing from 0.0.0.Y
I got result but it executed on server Y server. But when I use ssh... (4 Replies)
Discussion started by: babapatil14
4 Replies
LEARN ABOUT DEBIAN
ssh-keysign
SSH-KEYSIGN(8) BSD System Manager's Manual SSH-KEYSIGN(8)NAME
ssh-keysign -- ssh helper program for host-based authentication
SYNOPSIS
ssh-keysign
DESCRIPTION
ssh-keysign is used by ssh(1) to access the local host keys and generate the digital signature required during host-based authentication with
SSH protocol version 2.
ssh-keysign is disabled by default and can only be enabled in the global client configuration file /etc/ssh/ssh_config by setting
EnableSSHKeysign to ``yes''.
ssh-keysign is not intended to be invoked by the user, but from ssh(1). See ssh(1) and sshd(8) for more information about host-based authen-
tication.
FILES
/etc/ssh/ssh_config
Controls whether ssh-keysign is enabled.
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_ecdsa_key
/etc/ssh/ssh_host_rsa_key
These files contain the private parts of the host keys used to generate the digital signature. They should be owned by root, read-
able only by root, and not accessible to others. Since they are readable only by root, ssh-keysign must be set-uid root if host-
based authentication is used.
/etc/ssh/ssh_host_dsa_key-cert.pub
/etc/ssh/ssh_host_ecdsa_key-cert.pub
/etc/ssh/ssh_host_rsa_key-cert.pub
If these files exist they are assumed to contain public certificate information corresponding with the private keys above.
SEE ALSO ssh(1), ssh-keygen(1), ssh_config(5), sshd(8)HISTORY
ssh-keysign first appeared in OpenBSD 3.2.
AUTHORS
Markus Friedl <markus@openbsd.org>
BSD August 31, 2010 BSD