Re: F-12 ssh problem -

2009-12-14 Thread Jim
On 12/13/2009 07:22 PM, H. Willstrand wrote: On Mon, Dec 14, 2009 at 1:15 AM, Bob Goodwinbobgood...@wildblue.net wrote: I can ssh from this F-11 box to the F-12 box but can't get a connection in the reverse direction. It keeps giving Connection refused. I use Firestarter and

F-12 ssh problem -

2009-12-13 Thread Bob Goodwin
I can ssh from this F-11 box to the F-12 box but can't get a connection in the reverse direction. It keeps giving Connection refused. I use Firestarter and there's nothing in the log so I don't think it's a problem there. sshd is running in both, where else do I need to look?

Re: F-12 ssh problem -

2009-12-13 Thread H. Willstrand
On Mon, Dec 14, 2009 at 1:15 AM, Bob Goodwin bobgood...@wildblue.net wrote:   I can ssh from this F-11 box to the F-12 box but can't get a   connection in the reverse direction. It keeps giving Connection   refused.   I use Firestarter and there's nothing in the log so I don't think   it's

Re: F-12 ssh problem -

2009-12-13 Thread Amadeus W.M.
Check whether sshd is indeed running on F12 and on which port. Either netstat -tupan | grep sshd or /etc/rc.d/init.d/sshd status Then turn off the firewall briefly and see if you can connect. If so, then fix the firewall. On Sun, 13 Dec 2009 19:15:19 -0500, Bob Goodwin wrote: I can

[OT] run command via ssh - problem

2009-11-04 Thread Dan Track
Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how to run this hostname command so that it actually runs on server 1,

Re: [OT] run command via ssh - problem

2009-11-04 Thread Dan Track
On Wed, Nov 4, 2009 at 1:10 PM, Dan Track dan.tr...@gmail.com wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how

Re: [OT] run command via ssh - problem

2009-11-04 Thread Joachim Backes
On 11/04/2009 02:10 PM, Dan Track wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how to run this hostname command

Re: [OT] run command via ssh - problem

2009-11-04 Thread Bryn M. Reeves
On Wed, 2009-11-04 at 13:10 +, Dan Track wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how to run this

Re: [OT] run command via ssh - problem

2009-11-04 Thread Dan Track
On Wed, Nov 4, 2009 at 1:14 PM, Joachim Backes joachim.bac...@rhrk.uni-kl.de wrote: On 11/04/2009 02:10 PM, Dan Track wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server

Re: [OT] run command via ssh - problem

2009-11-04 Thread Bryn M. Reeves
On Wed, 2009-11-04 at 13:13 +, Dan Track wrote: On Wed, Nov 4, 2009 at 1:10 PM, Dan Track dan.tr...@gmail.com wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the

Re: [OT] run command via ssh - problem

2009-11-04 Thread Dan Track
On Wed, Nov 4, 2009 at 1:33 PM, Bryn M. Reeves b...@redhat.com wrote: On Wed, 2009-11-04 at 13:13 +, Dan Track wrote: On Wed, Nov 4, 2009 at 1:10 PM, Dan Track dan.tr...@gmail.com wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done.

Re: [OT] run command via ssh - problem

2009-11-04 Thread Todd Zullinger
Dan Track wrote: Thanks for that, any thoughts on how it fits in with my script: for i in server1 server2;do ssh r...@$i DNSNAME=\basename\`hostname\`\;echo $DNSNAME;done What are you trying to achieve with DNSNAME=\basename\`hostname\`\; anyway? If you want the domainname, dnsdomainname or

Re: [OT] run command via ssh - problem

2009-11-04 Thread Bryn M. Reeves
On Wed, 2009-11-04 at 14:14 +0100, Joachim Backes wrote: On 11/04/2009 02:10 PM, Dan Track wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above

Re: [OT] run command via ssh - problem

2009-11-04 Thread Bryn M. Reeves
On Wed, 2009-11-04 at 13:32 +, Dan Track wrote: Hi Bryn, Many thanks. I tried hostname -s but I keep getting the following: hostname: Host name lookup failure Possibly your resolver on the servers is not configured to search its own local domain. Add a line like this to

Re: [OT] run command via ssh - problem

2009-11-04 Thread Dan Track
On Wed, Nov 4, 2009 at 2:29 PM, Bryn M. Reeves b...@redhat.com wrote: On Wed, 2009-11-04 at 13:32 +, Dan Track wrote: Hi Bryn, Many thanks. I tried hostname -s but I keep getting the following: hostname: Host name lookup failure Possibly your resolver on the servers is not configured

Re: [OT] run command via ssh - problem

2009-11-04 Thread Todd Zullinger
Dan Track wrote: The basename command works well. At what? Unless your hostname contains a /, I don't see how basename would do anything the way you are using it. -- ToddOpenPGP - KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp

Re: run command via ssh - problem

2009-11-04 Thread Cameron Simpson
On 04Nov2009 14:56, Dan Track dan.tr...@gmail.com wrote: | On Wed, Nov 4, 2009 at 2:29 PM, Bryn M. Reeves b...@redhat.com wrote: | for i in server1 server2;do ssh r...@$i DNSNAME=$(basename | $(hostname)$);echo $DNSNAME;done | | You need to use single quotes instead of double quotes - see the

Re: [OT] run command via ssh - problem

2009-11-04 Thread Konstantin Svist
On 11/04/2009 05:10 AM, Dan Track wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how to run this hostname command

Re: [OT] run command via ssh - problem

2009-11-04 Thread Bill Davidsen
Dan Track wrote: On Wed, Nov 4, 2009 at 1:33 PM, Bryn M. Reeves b...@redhat.com wrote: On Wed, 2009-11-04 at 13:13 +, Dan Track wrote: On Wed, Nov 4, 2009 at 1:10 PM, Dan Track dan.tr...@gmail.com wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i

Re: [OT] run command via ssh - problem

2009-11-04 Thread Rick Stevens
Bryn M. Reeves wrote: On Wed, 2009-11-04 at 13:32 +, Dan Track wrote: Hi Bryn, Many thanks. I tried hostname -s but I keep getting the following: hostname: Host name lookup failure Possibly your resolver on the servers is not configured to search its own local domain. Add a line like

Re: ssh problem

2009-05-26 Thread Marc Wilson
On Mon, Apr 20, 2009 at 10:44:31AM -0400, Dave Feustel wrote: Is ssh being blocked by a problem with the f9 firewall? How can I check? As per the ssh documentation, pass -v to cause the client to be verbose, let *it* tell *you* what it thinks is wrong. Multiple 'v' increases the verbosity.

Re: ssh problem

2009-05-26 Thread Dave Feustel
On Mon, Apr 20, 2009 at 01:21:30PM -0700, Marc Wilson wrote: On Mon, Apr 20, 2009 at 10:44:31AM -0400, Dave Feustel wrote: Is ssh being blocked by a problem with the f9 firewall? How can I check? As per the ssh documentation, pass -v to cause the client to be verbose, let *it* tell *you*

Re: ssh problem

2009-04-21 Thread Andrew Parker
On Mon, Apr 20, 2009 at 10:44 AM, Dave Feustel dfeus...@mindspring.com wrote: I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access suse with ssh from f9, ssh hangs. AFICT, all other ssh invocations on

Re: ssh problem

2009-04-21 Thread Dave Feustel
On Tue, Apr 21, 2009 at 11:01:32AM -0400, Andrew Parker wrote: On Mon, Apr 20, 2009 at 10:44 AM, Dave Feustel dfeus...@mindspring.com wrote: I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access

ssh problem

2009-04-20 Thread Dave Feustel
I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access suse with ssh from f9, ssh hangs. AFICT, all other ssh invocations on both f9 and suse succeed. Is ssh being blocked by a problem with the f9 firewall?

Re: ssh problem

2009-04-20 Thread Steve Searle
Around 03:44pm on Monday, April 20, 2009 (UK time), Dave Feustel scrawled: I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access suse with ssh from f9, ssh hangs. AFICT, all other ssh invocations on

Re: ssh problem

2009-04-20 Thread Tom Horsley
On Mon, 20 Apr 2009 10:44:31 -0400 Dave Feustel wrote: I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access suse with ssh from f9, ssh hangs. You might want to check the /etc/ssh/sshd_config files.

Re: ssh problem

2009-04-20 Thread Dave Feustel
On Mon, Apr 20, 2009 at 03:49:45PM +0100, Steve Searle wrote: Around 03:44pm on Monday, April 20, 2009 (UK time), Dave Feustel scrawled: I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access suse

Re: ssh problem

2009-04-20 Thread Craig White
On Mon, 2009-04-20 at 10:44 -0400, Dave Feustel wrote: I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access suse with ssh from f9, ssh hangs. AFICT, all other ssh invocations on both f9 and suse

Re: ssh problem

2009-04-20 Thread Dave Feustel
On Mon, Apr 20, 2009 at 11:01:36AM -0400, Tom Horsley wrote: On Mon, 20 Apr 2009 10:44:31 -0400 Dave Feustel wrote: I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access suse with ssh from f9,

Re: ssh problem

2009-04-20 Thread Mikkel L. Ellertson
Dave Feustel wrote: I am trying to set up ssh for use on my local network. When I try to access f9 with ssh from suse, the connection is refused. When I try to access suse with ssh from f9, ssh hangs. AFICT, all other ssh invocations on both f9 and suse succeed. Is ssh being blocked by a