04-15-2008
Quote:
Originally Posted by
shockneck
Your ssh connection appears to work but at three occasions in your debug output it seems like you simply don't get what the target node returns. The ping not returning to your node does not necessarily imply that your target node is dead/rebooting (check with who -b). There may be a problem with the routing. Do both nodes have a route defined to the other node? Can you connect to the originating node from node "beckman"?
Connecting from beckman to the originating machine works fine. I can connect normally over ssh to beckman and run commands (and receive a response) when I'm logged in, so it seems to me like it wouldn't be a routing issue...
I also checked who -b, and the last boot was just after I attempted the "ssh tai@beckman ls" command.
Thanks for your suggestions so far... hopefully we can figure this out.
10 More Discussions You Might Find Interesting
1. Solaris
On Solaris 5.9, is there any way to pass parameter(s), via SSH, to a command defined in the remote host's authorized_keys file?
We have a menu that uses SSH to control some apps on our various hosts. I've been tasked with enhancing it and making it more secure.
So far, the local host menu... (2 Replies)
Discussion started by: PabloCruise77
2 Replies
2. Shell Programming and Scripting
Hi,
I wan to pass arguments to remote script in Unix .
For that I'm using ssh
PFB the code I'm using:
ssh -t -l osdac 10.81.33.51 "cd /appl/OSD/LOGS/flstr010/test.sh "$1" "$2""
Problem is I'm not able to pass second argument .
Can anyone plz help me in resolving this. (5 Replies)
Discussion started by: suchitasaner27
5 Replies
3. Shell Programming and Scripting
ssh/sftp login by passing password , is it possible.Don't want to expect. (1 Reply)
Discussion started by: dinjo_jo
1 Replies
4. Shell Programming and Scripting
First off we have hundreds of webservers in our farm that we sometimes have to collect logs for customers. Thing is the script that I currently am working on doesnt like my awk commands via ssh. I am very novice at best so all help would be greatly appreciated.
ssh a$active "awk... (9 Replies)
Discussion started by: gbarnes
9 Replies
5. Shell Programming and Scripting
i have a bash script on serverA, when i run the script on the server, it runs fine. the way to run the script is like this ./script "option1"
Now i am trying to call it from local laptop using ssh command, my command is as the following
ssh serverA ~/script "option1"
and i got error... (7 Replies)
Discussion started by: fedora
7 Replies
6. Shell Programming and Scripting
Used the script posted on forum - unix.com/shell-programming-scripting/21597-script-change-passwords-same-user-multiple-servers.html but the last question posted on this seems to be still unanswered, tried different things with no success, can someone help giving an way to pass the password via... (5 Replies)
Discussion started by: sapadmin
5 Replies
7. Shell Programming and Scripting
I want to do following 2 commands via script:
1) eval `ssh-agent`2) ssh-add /export/home/sufuser/.ssh/id_rsa When asked for passphrase enter "passwordpassword1234
but whenever I run the script it stucks after "ssh-add /export/home/sufuser/.ssh/id_rsa" command and asks fro... (4 Replies)
Discussion started by: yogeshpawar
4 Replies
8. Shell Programming and Scripting
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies
9. Shell Programming and Scripting
Hi Experts,
I have specific requirement where I want to pass the password with the ssh username@hostname command .
I dont want to use RSA public and private keys also. Because that will be on production server and no one wants to give access like that.
Second thing it is production... (14 Replies)
Discussion started by: sharsour
14 Replies
10. Shell Programming and Scripting
Hi Guys n Girls,
Below im using a while command to wait for a file on another server then carrying on with the script.....
I dont believe the $Sausage1 variable is being passed to the other server so its not finding the file. If i replace the variable with the date then it works as expected.
... (2 Replies)
Discussion started by: twinion
2 Replies
LEARN ABOUT DEBIAN
dnetcat
dnetcat(1) User Commands dnetcat(1)
NAME
dnetcat - opens a DECnet connection
SYNOPSIS
dnetcat {-h|--help}
dnetcat [-v] [-z] node[::|[::] ]object
dnetcat [-v] [-f] -l object
DESCRIPTION
dnetcat is a netcat(1) like tool that opens a DECnet connection and copies all data between the standard input/output to/from the socket.
OPTIONS
-v
Be verbose. Prints useful (debug) messages.
-z
Zero IO mode. In this mode a connection is dropped directly after it is opened. This can be used to scan if the remote side listens on the
given address and object.
-l
Listen mode. In this mode dnetcat accepts connections on the given object.
-f
Fork on new connection. This let netcat accept multiple connections in listen mode. This is ignored if -l is not given.
--help, -h
Prints a small help.
EXAMPLES
This program can be used as 'ProxyCommand' for ssh(1). You may use it via command line like this:
ssh -o 'ProxyCommand dnetcat %h ssh' [...] mynode
or you may use it in your ~/.ssh/config like this:
Host *::
ProxyCommand dnetcat %h ssh
This will enable you to connect to any DECnet node by adding "::" at the end of the node name like this:
ssh mynode::
For more information on ssh(1) see it's manpage.
SEE ALSO
ssh(1), netcat(1).
AUTHORS
This program is written by Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>.
dntools September 2008 dnetcat(1)