Gentoo Archives: gentoo-amd64

From: Kevin Philp <kevin@×××××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] ssh fwbuilder
Date: Thu, 19 Jan 2006 17:24:39
Message-Id: 200601191720.52193.kevin@cybercolloids.net
In Reply to: Re: [gentoo-amd64] ssh fwbuilder by Gavin Seddon
1 Probably not. Its usually root@×××××××××××.domainname so I am guessing its
2 something like root@×××.domainname.
3
4 Log into a terminal on the ssh server and hostname will give you the info. On
5 my machine I get:
6
7 root@server:~> hostname
8 server.cybercolloids.office
9 root@server:~> hostname -s
10 server
11 root@server:~> hostname -i
12 192.168.1.1
13 root@server:~> hostname -d
14 cybercolloids.office
15
16 so for me it would be root@××××××××××××××××××××.office
17
18 Also, from the remote machine, try
19
20 ping server.cybercolloids.office.
21
22 (adjust for your hostname) That should get a response. If it doesn't try ping
23 192.168.1.1 (adjust for your ip) to determine if its a lookup problem or
24 something else.
25
26 Does your ssh server run iptables? If so is it allowing ssh through?
27
28 iptables -L from the server will give you a summary
29
30 Check your ssh server setup - normally on ssh servers root access is blocked
31 anyway. Try
32
33 cat /etc/ssh/sshd_config | grep -i rootlog
34
35 my machine gives
36
37 #PermitRootLogin yes
38 PermitRootLogin no
39
40 which tells me someone as switched root logins off....no surprise
41
42 Kevin.
43
44
45
46
47 On Thursday 19 January 2006 16:32, Gavin Seddon wrote:
48 >The firewall is called 'fw1' so is it root@×××.machinename, if so the
49 >username is 'root' which didn't work when I tried to install, neither
50 >did fw1.
51 >Thanks.
52 >
53 >On Thu, 2006-01-19 at 15:37 +0000, Neil Stone wrote:
54 >> > is your firewall machine actually called "firewall"?
55 >> >
56 >> > ssh root@firewall uses ssh to login user root into a machine called
57 >> > firewall.
58 >> > I guess you actually need
59 >> >
60 >> > ssh root@×××××××××××××.something
61 >> >
62 >> > On Thursday 19 January 2006 12:56, Gavin Seddon wrote:
63 >> >>Hi,
64 >> >>In the instructions for fwbuilder to test the password it tells me to
65 >> >>
66 >> >>ssh root@firewall, I get
67 >> >>'ssh: firewall: Name or service not known'. I have created the key,
68 >> >>when I try to install what's my username?
69 >> >>
70 >> >>--
71 >> >>Dr Gavin Seddon
72 >> >>School of Pharmacy and Pharmaceutical Sciences
73 >> >>University of Manchester
74 >> >>Oxford Road, Manchester
75 >> >>M13 9PL, U.K.
76 >> >
77 >> > --
78 >> > gentoo-amd64@g.o mailing list
79 >>
80 >> or "ssh root@×××××××××.ss"
81 >
82 >--
83 >Dr Gavin Seddon
84 >School of Pharmacy and Pharmaceutical Sciences
85 >University of Manchester
86 >Oxford Road, Manchester
87 >M13 9PL, U.K.
88
89 --
90 gentoo-amd64@g.o mailing list