Re: ipfw and ssh problem

2010-03-26 Thread Tongai. T Zimbiti
Thanks Peter, will give that a try. regards Tongai Peter wrote: Hi guys, I have searched everywhere and failed to find a solution, hence I write you. I have installed 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERI

Re: ipfw and ssh problem

2010-03-26 Thread krad
On 26 March 2010 08:02, Peter wrote: > > Hi guys, > > > > I have searched everywhere and failed to find a solution, hence I write > > you. > > I have installed 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 > > UTC 2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > > amd6

Re: ipfw and ssh problem

2010-03-26 Thread Peter
> Hi guys, > > I have searched everywhere and failed to find a solution, hence I write > you. > I have installed 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 > UTC 2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > amd64 > together with ipfw. The problem I have is this, i

ipfw and ssh problem

2010-03-26 Thread Tongai. T Zimbiti
Hi guys, I have searched everywhere and failed to find a solution, hence I write you. I have installed 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 together with ipfw. The problem I have is this, if I am on th

Re: dump through ssh problem

2009-05-27 Thread Chris Rees
2009/5/27 Matiss : > Allright, false alarm.. > should've just tried to enter the password and not look at the > messages, lol > cheers, > Matt >  Quoting Matiss : Hey there, >  Here's a command that I use >  dump -0aunL -f - / | gzip -2 | ssh -p 182 m...@192.168.0.1 "dd > of=/home/matt/usb_hdd/mail

dump through ssh problem

2009-05-27 Thread Matiss
Hey there, Here's a command that I use dump -0aunL -f - / | gzip -2 | ssh -p 182 m...@192.168.0.1 "dd of=/home/matt/usb_hdd/mail.err.lv/dump.root.l0.gz" problem is, when ssh asks for password, it is fed a piped output from previous commands, not allowing me to enter a password for connection. What

Re: dump through ssh problem

2009-05-27 Thread Matiss
Allright, false alarm.. should've just tried to enter the password and not look at the messages, lol cheers, Matt Quoting Matiss : Hey there, Here's a command that I use dump -0aunL -f - / | gzip -2 | ssh -p 182 m...@192.168.0.1 "dd of=/home/matt/usb_hdd/mail.err.lv/dump.root.l0.gz" problem is,

Re: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Chris . A . Horinek
in my case, someone had inadvertantly removed world read from /etc/passwd. I added it back and the problem went away. Jerry McAllister No Phone Info Available 04/14/2009 02:20 PM To chris.a.hori...@seagate.com cc freebsd-questions@freebsd.org Subject Re: Weird SSH problem... Any ideas

Re: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Jerry McAllister
s@freebsd.org > Subject > Re: Weird SSH problem... Any ideas?!? > > On Tue, Apr 14, 2009 at 11:46:37AM -0500, chris.a.hori...@seagate.com > wrote: > > > check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd > > needed to be world readable. &g

Re: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Jerry McAllister
On Tue, Apr 14, 2009 at 11:46:37AM -0500, chris.a.hori...@seagate.com wrote: > check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd > needed to be world readable. I don't understand your problem. /etc/passwd is always world readable. /etc/master.passwd is not. jerry > >

Weird SSH problem... Any ideas?!?

2009-04-14 Thread Chris . A . Horinek
check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd needed to be world readable. Chris Horinek Oklahoma City Data Center Seagate Technology LLC chori...@seagate.com 405-324-3599 Conf. Call# (US): (877) 810

Re: hosts.allow and ssh problem

2006-05-19 Thread jekillen
On May 19, 2006, at 7:33 PM, David Kelly wrote: On May 19, 2006, at 8:55 PM, jekillen wrote: I am trying to deny ftp access to my web site from out side. I have two nics on the server and access it from the inside network via one and serve to the public on the other. I tried to write a ru

Re: hosts.allow and ssh problem

2006-05-19 Thread Eric Schuele
jekillen wrote: Hello all; I am trying to deny ftp access to my web site from out side. I have two nics on the server and access it from the inside network via one and serve to the public on the other. I tried to write a rule in hosts.allow to deny ftp connections to the public ip address whic

Re: hosts.allow and ssh problem

2006-05-19 Thread David Kelly
On May 19, 2006, at 8:55 PM, jekillen wrote: I am trying to deny ftp access to my web site from out side. I have two nics on the server and access it from the inside network via one and serve to the public on the other. I tried to write a rule in hosts.allow to deny ftp connections to the

hosts.allow and ssh problem

2006-05-19 Thread jekillen
Hello all; I am trying to deny ftp access to my web site from out side. I have two nics on the server and access it from the inside network via one and serve to the public on the other. I tried to write a rule in hosts.allow to deny ftp connections to the public ip address which has worked. But

Re: SSH problem

2006-01-09 Thread Garrett Cooper
On Jan 9, 2006, at 1:57 AM, Leonidas Tsampros wrote: On Mon, Jan 09, 2006 at 12:32:00AM -0800, Robert Stevenson wrote: I'm able to log-in to my FreeBSD box using SSH just a few days ago, but now I can't. Whenever I try I only get to enter my username and the password prompt does not appear anym

Re: SSH problem

2006-01-09 Thread Leonidas Tsampros
On Mon, Jan 09, 2006 at 12:32:00AM -0800, Robert Stevenson wrote: > I'm able to log-in to my FreeBSD box using SSH just a > few days ago, but now I can't. Whenever I try I only > get to enter my username and the password prompt does > not appear anymore. It seems authentication stops > after I ente

SSH problem

2006-01-09 Thread Robert Stevenson
I'm able to log-in to my FreeBSD box using SSH just a few days ago, but now I can't. Whenever I try I only get to enter my username and the password prompt does not appear anymore. It seems authentication stops after I enter my username. I'm using PUTTY as a client I can login directly to the box

Re: Weird SSH problem... - Solved! :)

2005-10-21 Thread Erik Norgaard
On Fri, 21 Oct 2005, Olaf Greve wrote: # cd /etc # pwd_mkdb master.passwd # pwd_mkdb -p master.passwd I made copies of /etc/passwd and /etc/master.passwd, then I ran the two commands above and now it all seems to work fine!!! The abcdef user is now properly identified again. :) Great! Now,

Re: Weird SSH problem... - Solved! :)

2005-10-21 Thread Olaf Greve
Hi Erik (and others), # cd /etc # pwd_mkdb master.passwd # pwd_mkdb -p master.passwd I made copies of /etc/passwd and /etc/master.passwd, then I ran the two commands above and now it all seems to work fine!!! The abcdef user is now properly identified again. :) Tnx a lot A great way to

Re: Weird SSH problem... Any ideas?!?

2005-10-21 Thread Erik Norgaard
On Fri, 21 Oct 2005, Olaf Greve wrote: I think you can use mtree to get permissions right if they for some reason have been changed. This might be a good one to check... I'm not familiar with it yet, but does this check all permissions and ownerships and corrects errors/mismatches where poss

Re: Weird SSH problem... Any ideas?!?

2005-10-21 Thread Olaf Greve
Hi again, Erik Norgaard wrote: I think you can use mtree to get permissions right if they for some reason have been changed. This might be a good one to check... I'm not familiar with it yet, but does this check all permissions and ownerships and corrects errors/mismatches where possible?

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread David Kirchner
On 10/20/05, Olaf Greve <[EMAIL PROTECTED]> wrote: > Hi, > > > Well, it all seems to be a question of granting users access to the > > right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? > > These are both 644, owned by root:wheel. > > > These should be world readable while /e

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Erik Norgaard
On Thu, 20 Oct 2005, Olaf Greve wrote: Well, it all seems to be a question of granting users access to the right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? These are both 644, owned by root:wheel. These should be world readable while /etc/master.passwd and /etc/spwd.d

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Olaf Greve
Hi, Well, it all seems to be a question of granting users access to the right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? These are both 644, owned by root:wheel. These should be world readable while /etc/master.passwd and /etc/spwd.db should not. These are both 600

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Erik Norgaard
On Thu, 20 Oct 2005, Olaf Greve wrote: I do notice something weird though, which I also noticed from a warning Amavisd-new has given me: for some reason unpriviliged users do not seem to "see" their login name, but rather only their UID, when performing a "whoami" call?!? Seems to be related

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Olaf Greve
Hi, > Some things to try, in sshd_config set: > > PrintLastLog=no > LogLevel=DEBUG Tnx a lot, this did the trick!!! I first tried it without the "PrintLastLog no" command, and with a proper AllowUsers line and that still didn't allow the login over SSH. Then, adding that "PrintLastLog no" li

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Erik Norgaard
On Thu, 20 Oct 2005, Olaf Greve wrote: Oct 20 11:39:40 milx sshd[48147]: Accepted keyboard-interactive/pam for abcdef from 123.45.67.89 port 35335 ssh2 Oct 20 11:39:40 milx sshd[48150]: fatal: login_get_lastlog: Cannot find account for uid 1234 Some things to try, in sshd_config set: PrintLa

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Alex Zbyslaw
Olaf Greve wrote: Hi, Yesterday it has been brought to my attention that SSH access is not working well on my new server. The background: I have set-up a new server (FreeBSD 5.4-Release AMD/64) and I migrated the user accounts from my old server (FreeBSD 5.2.1-Release i386). Now, I was u

Weird SSH problem... Any ideas?!?

2005-10-20 Thread Olaf Greve
Hi, Yesterday it has been brought to my attention that SSH access is not working well on my new server. The background: I have set-up a new server (FreeBSD 5.4-Release AMD/64) and I migrated the user accounts from my old server (FreeBSD 5.2.1-Release i386). Now, I was under the assumption

Re: SSH Problem

2004-03-01 Thread Stephen Liu
On Tuesday 02 March 2004 01:27, HOLLOW, CHRISTOPHER wrote: > > This arrangement is only to facilitate Administor's job. He operates > > outside contact as 'user' from there if necessary he can login as root > > doing maintenance. > > Granting the person root access is one thing. Allowing root log

Re: SSH Problem

2004-03-01 Thread HOLLOW, CHRISTOPHER
This arrangement is only to facilitate Administor's job. He operates outside contact as 'user' from there if necessary he can login as root doing maintenance. Granting the person root access is one thing. Allowing root logins via SSH is something different. What Nathan (and security experts

Re: SSH Problem

2004-03-01 Thread Kevin D. Kinsey, DaleCo, S.P.
Stephen Liu wrote: - snip - You say that this works as root, but your example seems to indicate otherwise. By default, root logins via ssh is disabled in the sshd config file, usually at /etc/ssh/sshd_config. If for some reason you want to allow root logins via ssh then uncomment the followin

Re: SSH Problem

2004-03-01 Thread Stephen Liu
- snip - > > You say that this works as root, but your example seems to indicate > otherwise. By default, root logins via ssh is disabled in the sshd > config file, usually at /etc/ssh/sshd_config. If for some reason you > want to allow root logins via ssh then uncomment the following line and >

Re: SSH Problem

2004-03-01 Thread Nathan Kinkade
On Tue, Mar 02, 2004 at 01:52:37AM +0800, Stephen Liu wrote: > Hi all folks, > > FreeBSD 5.2 > === > > I can as 'root' > > # ssh -X [EMAIL PROTECTED] > > tunneling to 'user' but it does not work as 'user' > > $ ssh -X [EMAIL PROTECTED] > Password: > Password: > Password: > [EMAIL PR

RE: SSH Problem

2004-03-01 Thread Remko Lodder
CTED] [mailto:[EMAIL PROTECTED] Stephen Liu Verzonden: maandag 1 maart 2004 18:53 Aan: [EMAIL PROTECTED] Onderwerp: SSH Problem Hi all folks, FreeBSD 5.2 === I can as 'root' # ssh -X [EMAIL PROTECTED] tunneling to 'user' but it does not work as 'user' $ ssh

SSH Problem

2004-03-01 Thread Stephen Liu
Hi all folks, FreeBSD 5.2 === I can as 'root' # ssh -X [EMAIL PROTECTED] tunneling to 'user' but it does not work as 'user' $ ssh -X [EMAIL PROTECTED] Password: Password: Password: [EMAIL PROTECTED]'s password: Permission denied, please try again. [EMAIL PROTECTED]'s password: Per

Re: SSH problem partially solved!! Still need help.

2004-02-14 Thread Dragoncrest
Huh. It was there! I thought that there might be a second sshd config file somewhere on the system, but locate and find never reported it. Weird. But everything's working as required, so I'm very happy. Thanks for all the help guys!! At 10:54 PM 2/13/04 -0500, matthew wrote: On F

Re: SSH problem partially solved!! Still need help.

2004-02-13 Thread matthew
On Fri, 13 Feb 2004, Dragoncrest wrote: > Ok, I finally figured out why my configs weren't loading for > ssh. Apparently when you startup SSHD it loads some weird default > sshd_config file that I can't seem to find. However, if I specify "sshd -f > /etc/ssh/sshd_config" it will load my

SSH problem partially solved!! Still need help.

2004-02-13 Thread Dragoncrest
Ok, I finally figured out why my configs weren't loading for ssh. Apparently when you startup SSHD it loads some weird default sshd_config file that I can't seem to find. However, if I specify "sshd -f /etc/ssh/sshd_config" it will load my config file and my ssh works the way it should. Now

Re: telnet and ssh problem.

2003-11-23 Thread Scott W
[EMAIL PROTECTED] wrote: Hi Every body; I have a FreeBSD Server. It has telnet and ssh up. They work, but not properly. When I ssh to the server or telnet from Linux shell by each Enter I see the following message: bash: \033]0;[EMAIL PROTECTED]:${PWD/#$HOME/~}\007: bad substitution But wh

telnet and ssh problem.

2003-11-23 Thread falaki
Hi Every body; I have a FreeBSD Server. It has telnet and ssh up. They work, but not properly. When I ssh to the server or telnet from Linux shell by each Enter I see the following message: bash: \033]0;[EMAIL PROTECTED]:${PWD/#$HOME/~}\007: bad substitution But when I telnet from Window

RE: SSH problem, delay ---??? How to fix?

2003-09-16 Thread mark rowlands
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alex Zivenko > Sent: Tuesday, September 16, 2003 7:34 PM > To: [EMAIL PROTECTED] > Subject: SSH problem, delay ---??? How to fix? > > Hi! > When I am trying to connect to

Re: SSH problem, delay ---??? How to fix?

2003-09-16 Thread Stacey Roberts
Hello, On Tue, 2003-09-16 at 18:33, Alex Zivenko wrote: > Hi! > When I am trying to connect to my FreeBSD server, I have a problem. It's not a very > big problem, but I want to fix it anyway. When I'm connecting to my FreeBSD machine > I have a big delay. It's very strange, when I'm working all

SSH problem, delay ---??? How to fix?

2003-09-16 Thread Alex Zivenko
Hi! When I am trying to connect to my FreeBSD server, I have a problem. It's not a very big problem, but I want to fix it anyway. When I'm connecting to my FreeBSD machine I have a big delay. It's very strange, when I'm working all is great, I have delay only when I'm connecting, it gives me the

Re: ssh problem

2003-09-05 Thread Andrew L. Gould
On Friday 05 September 2003 12:09 pm, Alex Zivenko wrote: > All known utility ssh. > How can I configure it? > I have one FreeBSD 4.8 machine in my net. I need to setup an ssh access > there for some win-users. I use telneat for it. > > I have a problem with it. When I'm trying to connect to this

ssh problem

2003-09-05 Thread Alex Zivenko
All known utility ssh. How can I configure it? I have one FreeBSD 4.8 machine in my net. I need to setup an ssh access there for some win-users. I use telneat for it. I have a problem with it. When I'm trying to connect to this machine I' got an error, which tells me something about DSA key. It

Re: openldap ssh problem

2003-07-10 Thread lewiz
On Thu, Jul 10, 2003 at 04:31:45PM -0700, Bill Campbell wrote: > On Fri, Jul 11, 2003 at 12:16:30AM +0100, lewiz wrote: > >Yes. You need to look at nss_ldap ;) > > I would love to -- on 4.8 STABLE. When I last looked at nss_ldap > on FreeBSD, I thought it only runs on 5.x. Ah. Sorry, I just mi

Re: openldap ssh problem

2003-07-10 Thread Bill Campbell
On Fri, Jul 11, 2003 at 12:16:30AM +0100, lewiz wrote: >On Thu, Jul 10, 2003 at 06:49:33PM -0400, Monah Baki wrote: >> Am I missing anything > >Yes. You need to look at nss_ldap ;) I would love to -- on 4.8 STABLE. When I last looked at nss_ldap on FreeBSD, I thought it only runs on 5.x. Bi

Re: openldap ssh problem

2003-07-10 Thread lewiz
On Thu, Jul 10, 2003 at 06:49:33PM -0400, Monah Baki wrote: > Am I missing anything Yes. You need to look at nss_ldap ;) Be aware that for some reason the ldap.conf file resides in /etc not /usr/local/etc. Also, I found that my nsswitch.conf only worked if it was: passwd: ldap files grou

openldap ssh problem

2003-07-10 Thread Monah Baki
Hi all, I'm just installed freebsd 5.1 running openldap and pam_ldap from padl.com. I created a userid and made sure he had 2 different password in /etc/passwd and in the openldap database. I was able to ssh using the openldap database password when the user exist locally (/etc/passwd), but w

Re: ssh problem

2002-07-18 Thread Christopher Schulte
At 02:44 PM 7/17/2002 -0400, Ryan Masse wrote: >I have several FreeBSD machines in production all running sshd as the sole >method of terminal services. I have one machine in particular that is >producing rather strange results when trying to ssh into the machine. I have >c/p a snipet of the outpu

RE: ssh problem

2002-07-17 Thread Balaji, Pavan
yinit (again!). Sorry! Not too much of a help. Pavan Balaji, Intel Corporation "Only the Paranoid Survive" -- Andy Grove > -Original Message- > From: Ryan Masse [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 1:44 PM > To: [EMAIL PROTECTED] >

ssh problem

2002-07-17 Thread Ryan Masse
I have several FreeBSD machines in production all running sshd as the sole method of terminal services. I have one machine in particular that is producing rather strange results when trying to ssh into the machine. I have c/p a snipet of the output from the console below: login as: USER otp-md5 3