I got this working. The issue was that the service install command listed
the pid file, but so does the config. Also, the /etc/host.deny did not
exist.
Again, thanks so much for your help
Kyle
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http:/
Yes, reading the readme file, I found that the pid file name. I changed it
to the normal path
/var/run/denyhost.pid
But when it starts it stall says the same error:
DenyHosts could not obtain lock (pid: )
[Errno 2] No such file or directory: '/var/lock/subsys/denyhosts'
I change the -x option
CTED] On Behalf Of
René Berber
Sent: Sunday, February 17, 2008 9:10 PM
To: cygwin@cygwin.com
Subject: Re: Stop Brute Force Attack on SSH
Kyle A. Dawson wrote:
> The install worked great. But when I try to create the service:
>
> cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-contro
Message-
From: René Berber [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 17, 2008 9:03 PM
To: Kyle A. Dawson
Subject: Re: Stop Brute Force Attack on SSH
Kyle A. Dawson wrote:
> The install worked great. But when I try to create the service:
>
> cygrunsrv -I DenyHosts -p /usr/sha
The install worked great. But when I try to create the service:
cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d
DenyHosts -f "DenyHosts 2.6" -y sshd -x /var/run/denyhosts.pid -o
I get this:
cygrunsrv: unknown option --
Also, this does not exist:
/usr/share/denyhosts/
That is what I was looking for. I will try this tonight, thanks.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
René Berber
Sent: Sunday, February 17, 2008 7:53 PM
To: cygwin@cygwin.com
Subject: Re: Stop Brute Force Attack on SSH
Kyle Dawson wrote:
> H
Yes, currently I disable root, disable password, (only allow keys). The one
idea I had as a last resort was to change the port from 22. Doing this
would require all users to update their client side. I was hoping to make a
change on the server, some software that could help protect ssh.
-
After looking at all the config files, everything looked ok. I noticed that
some files have permission weird, with group as ?. I noticed that my
group file only had groups from the domain not local groups. I then append
all the local groups to the /etc/group file, and BAM, everything works.
> If I leave out the -k, I get no prompt but I am in, I can run commands,
> etc.
I was meaning the -i
I search the entire computer and only found the one bash.exe, in the existing
cygwin home
Here are my cases:
1) If am on the ssh server itself, all works fine, I can logon via ssh
local
Also whie on the server, if I login into the server to the host name,
myhost.com ( the public internet name) it works as well.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.
1) I do not know of any other bash installed at all.
2) If I ssh to localhost,it works fine. "ssh localhost". I get a prompt fine.
3) If I leave out the --login It works but I get a different prompt
$ ssh myhost bash -i
bash-3.2$
If I leave out the -k, I get no
working
Kyle A. Dawson wrote:
> Well, I uninstall Interix and it did fix that weird issue with remote ls,
> but still cannot login. I re-ran the cvscheck and attached.
>
> You mentioned you wanted the bash debug output, I thought I sent that as
> well? With this command:
>
Well, I uninstall Interix and it did fix that weird issue with remote ls, but
still cannot login. I re-ran the cvscheck and attached.
You mentioned you wanted the bash debug output, I thought I sent that as well?
With this command:
ssh -v -v -v -v -v webmadeeasy.net bash --login -i
That is w
, January 19, 2008 9:37 PM
To: cygwin@cygwin.com
Subject: Re: ssh interactive shell not working
Kyle A. Dawson wrote:
> I have attached the cvscheck output and the debug connection output.
Thanks but I actually wanted to see the bash debug output. Perhaps
it's not necessary now. Your
I have attached the cvscheck output and the debug connection output.
cygcheck.out
Description: Binary data
$ ssh -v -v -v -v -v myhost bash --login -i
OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007
debug2: ssh_connect: needpriv 0
debug1: Connecting to myhost [68.165.65.114] port 22.
debug1: Connect
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Hall
(Cygwin)
Sent: Saturday, January 19, 2008 4:28 PM
To: cygwin@cygwin.com
Subject: Re: ssh interactive shell not working
Kyle A. Dawson wrote:
> I forgot to add the bash part.
> So if I give it the option to run bash it works, I
"mkgroup -l -d > /etc/group"
echo
echo "This message is only displayed once (unless you recreate /etc/group)"
echo "and can be safely ignored."
# only display the above once
cp -f /etc/group "${HOME}/group.mkgroup_l_d" \
&& ( [ -w /et
] On Behalf Of
Dave Korn
Sent: Friday, January 18, 2008 8:45 AM
To: cygwin@cygwin.com
Subject: RE: RE: ssh interactive shell not working
On 18 January 2008 14:07, Kyle A. Dawson wrote:
> Ok, here is the output from the debug
>
> $ ssh -v -v -v -v -v myhost
>
> OpenSSH_4.7p1, OpenSS
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Dave Korn
Sent: Friday, January 18, 2008 8:45 AM
To: cygwin@cygwin.com
Subject: RE: RE: ssh interactive shell not working
On 18 January 2008 14:07, Kyle A. Dawson wrote:
> Ok, here is the output from the debug
>
> $ ssh -v -v -v -v
that were working, now all stopped. So I think it is on the server side.
________
On 18 January 2008 13:03, Kyle A. Dawson wrote:
> I had cygwin and ssh working on windows 2003 and then it all stopped.?? I
> get it working again by re-installing cygwin and ss
I had cygwin and ssh working on windows 2003 and then it all stopped. I
get it working again by re-installing cygwin and ssh. The only issue is
that you cannot login to ssh with interactive shell. You can run commands
via ssh but not get a prompt. For example this will work:
ssh myhost ps -ef
21 matches
Mail list logo