Re: how to setup fc3 to ssh from remote server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Rick Stevens <rstevens@xxxxxxxxxxxxxxx> wrote:
> Charles Li wrote:
> > --- Rick Stevens <rstevens@xxxxxxxxxxxxxxx> wrote:
> > 
> >>Charles Li wrote:
> >>
> >>>--- Rick Stevens <rstevens@xxxxxxxxxxxxxxx>
> wrote:
> >>>
> >>>
> >>>>Charles Li wrote:
> >>>>
> >>>>
> >>>>>Hi, 
> >>>>>When I try to ssh in the fc3 from another
> server,
> >>>>
> >>>>it
> >>>>
> >>>>
> >>>>>gives me this error:
> >>>>>[server]$ ssh -X fc3-server
> >>>>>ssh: connect to address fc3-server port 22: No
> >>>>
> >>>>route
> >>>>
> >>>>
> >>>>>to host
> >>>>>
> >>>>>When do I need to start up?
> >>>>
> >>>>Is "fc3-server" in your /etc/hosts file or
> >>>>resolvable via DNS?  Can
> >>>>you ping it?  Do you have a default gateway
> >>>>configured that can get at
> >>>>it?
> >>>>
> >>
> >>  > I can ping the fc3-server from the server (S1)
> >>that I
> >>
> >>>can issuing the ssh.
> >>
> >>You didn't say if you can ping it by name or IP
> >>only.  We need to know
> >>that.
> >>
> >>
> >>>fc3-server is not in the S1's /etc/hosts.
> >>
> >>If pinging via the IP address works, but pinging
> via
> >>the hostname 
> >>doesn't, you either need to enter the IP and
> >>hostname into /etc/hosts or
> >>make sure there are appropriate records in your
> DNS
> >>service.
> >>
> >>
> >>>How do I check whether fc3-server is resolvable
> >>
> >>via
> >>
> >>>DNS, and also the gateway?
> >>
> >>To check DNS, "# dig fc3-server".  See if you get
> an
> >>address back.
> >>
> >>Since you can ping it one way or the other, the
> >>gateway is probably OK.
> > I am pinging by IP address.  This machine does not
> > have a name.  Also, I am using the ip address with
> > SSH.
> 
> That's not what you said before.  I quote:
> 
> "[server]$ ssh -X fc3-server
> ssh: connect to address fc3-server port 22: No route
> to host"
> 
> > The following is the dig command output:
> > 
> > [oracle@epic11 oracle]$ dig 172.20.3.53
> 
> No, not right.  To see what the IP address is for
> host "fc3-server",
> the command would be
> 
> 	dig fc3-server
> 
> To find out which HOST is associated with IP address
> 172.20.3.53 (called
> a "reverse DNS lookup", the command would be
> 
> 	dig -x 172.20.3.53
> 
> (note the "-x", meaning "reverse lookup").
> 
> Since you don't have a line such as:
> 
> 	172.20.3.53	fc3-server
> 
> in /etc/hosts, you should be able to do a
> 
> 	ssh 172.20.3.53
> 
> to access the machine by IP address.  Or add that
> line to /etc/hosts
> and use "ssh fc3-server".
>
----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer    
> rstevens@xxxxxxxxxxxxxxx -
> - VitalStream, Inc.                      
> http://www.vitalstream.com -
> -                                                   
>                 -
> -           Denial.  It ain't just a river in Egypt
> anymore!         -
>
----------------------------------------------------------------------
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
> 

It still will not let me ssh:

[oracle@epic11 oracle]$ ssh 172.20.3.53
ssh: connect to address 172.20.3.53 port 22: No route
to host
[oracle@epic11 oracle]$ dig -x 172.20.3.53

; <<>> DiG 9.2.1 <<>> -x 172.20.3.53
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id:
28048
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY:
1, ADDITIONAL: 0

;; QUESTION SECTION:
;53.3.20.172.in-addr.arpa.      IN      PTR

;; AUTHORITY SECTION:
20.172.in-addr.arpa.    86400   IN      SOA    
epic36.dep.state.fl.us. casey_t.dep.state.fl.us.
2005041903 900 600 604800 86400

;; Query time: 1 msec
;; SERVER: 199.73.169.33#53(199.73.169.33)
;; WHEN: Wed Apr 27 21:40:19 2005
;; MSG SIZE  rcvd: 108


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux