ssh /telnet problem

ssh /telnet problem

Post by Michal Dwuzni » Fri, 09 Mar 2001 20:29:01



When doing telnet/ssh to my newly set-up BSD I got : Permission denied.
Username and password _are_ correct. I suppose it has some connection
with <eol> sign
On other hosts both telnet and ssh work perfectly (please do not shout
at me for using telnet, it's isolated network ;) Only when trying to log
on myBSD (both from console and other hosts) something goes wrong.

What's all the thing about?
Regards
Michal

--
______________________________________________________
Michal Dwuznik 0-12 617 37 10 / 404A


______________________________________________________

 
 
 

ssh /telnet problem

Post by Nick Hilliar » Fri, 09 Mar 2001 20:03:59



> When doing telnet/ssh to my newly set-up BSD I got : Permission denied.
> Username and password _are_ correct. I suppose it has some connection
> with <eol> sign

Your username doesn't have a UID of 0, by any chance?  FreeBSD doesn't by
default allow remote logins with uid 0.

Nick

 
 
 

ssh /telnet problem

Post by Goblin » Fri, 09 Mar 2001 19:59:47


do as folow:
#cat /dev/null > /etc/hosts.allow
#echo "ALL : ALL : allow:" > /etc/hosts.allow
#cat /dev/null > /etc/login.access
#echo "+:ALL:ALL" > /etc/login.access

____
Artis


> When doing telnet/ssh to my newly set-up BSD I got : Permission denied.
> Username and password _are_ correct. I suppose it has some connection
> with <eol> sign
> On other hosts both telnet and ssh work perfectly (please do not shout
> at me for using telnet, it's isolated network ;) Only when trying to log
> on myBSD (both from console and other hosts) something goes wrong.

> What's all the thing about?
> Regards
> Michal

> --
> ______________________________________________________
> Michal Dwuznik 0-12 617 37 10 / 404A


> ______________________________________________________

 
 
 

ssh /telnet problem

Post by Michal Dwuzni » Fri, 09 Mar 2001 21:24:46


Quote:

> Your username doesn't have a UID of 0, by any chance?  FreeBSD doesn't by
> default allow remote logins with uid 0.

> Nick

Great issue, in fact :))
Problem also exists with UID's other than 0.
The solution is : add hosts to host.allow and login.access.
BTW: thanks, Goblins

--
______________________________________________________
Michal Dwuznik 0-12 617 37 10 / 404A


______________________________________________________

 
 
 

ssh /telnet problem

Post by Charlie Roo » Fri, 09 Mar 2001 23:00:47



> do as folow:
> #cat /dev/null > /etc/hosts.allow
> #echo "ALL : ALL : allow:" > /etc/hosts.allow
> #cat /dev/null > /etc/login.access
> #echo "+:ALL:ALL" > /etc/login.access

Thanks - one correction:
echo "ALL : ALL :allow" > ... (without : after allow)
Regards
Mike
 
 
 

1. ssh/telnet problem

I am having an ssh/telnet problem that I can't seem to figure out,
(although I suspect it isn't ssh or telnet that is actually the
problem).  The problem is that when I try to ssh anywhere, it takes 10
or 15 minutes to make a connection, and when I try to telnet, it takes
2 or 3 minutes.  I can ping all the addresses I am trying to
ssh/telnet to with no problem or latency.  When I run the -v option
with ssh, the only debug info I get is "Reading configuration data
/usr/local/etc/ssh_config," at which point it hangs.  If I try to ssh
into the box that I am having issues with, I am prompted for the
password, (if required) and then it will hang at "Entering interactive
session."  I have checked netstat -rn on my box to make sure the
default route is correct and there is no problem there.  I am running
Solaris 2.6 on two Sun Enterprise 250s and they are experiencing the
identical problem.  Any ideas?

2. Xwin 3.2 & ld.so

3. Newbie question: can't log ssh telnet, or regular telnet into FSD

4. FONTS ???

5. problems with telnet or ssh

6. Project Mayo looking for Apache gurus

7. autentification problem, all users can login only with ssh but not with telnet nor ftp

8. How to clear a hung TCP port

9. can ssh-agent work between ssh-2.3 and ssh-3.5

10. SSH client disconnects when performing certain commandline utilities (AIX 4.3.3) - SSH of Firewall problem ?

11. Problem with ssh-agent and ssh-add

12. SSH - make-ssh-known-hosts nslookup problem