This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: Need help port forwarding with ssh and cygwin...


So I went to

http://docs.oracle.com/cd/E24628_01/install.121/e22624/preinstall_req_cygwin_ssh.htm

and I am kind of stuck at 5.4.4 where it recommends

Backup the c:\cygwin\etc\passwd file and then use any editor to open
the file in edit mode. Remove only those entries of the user that you
will use to connect to the host on which you want to install a
Management Agent. Ask the user to make a backup of the
c:\cygwin\etc\passwd file before editing.

I am over my head with this.  Which ones do I remove?  And then the
next step leaves me even deeper under water.

Waiting for your help.  Thanks

On Sun, Sep 14, 2014 at 8:06 PM, Steven Dennis <nzdreamer55@gmail.com> wrote:
> Forgot to include this
>
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
> Write failed: Broken pipe
>
> On Sun, Sep 14, 2014 at 7:16 PM, David Rothenberger <daveroth@acm.org> wrote:
>> On 9/14/2014 6:35 PM, Steven Dennis wrote:
>>> Ok so I think that the problem is with connecting from my server to my
>>> local computer over ssh.  I ssh to my server and then issued a ssh
>>> kira@XXX.XXX.XXX.XXX and got the following error.
>>>
>>> ssh: connect to host XXX.XXX.XXX.XXX port 22: Connection timed out
>>
>> Have you setup the ssh server on your local computer by running
>> "ssh-host-config" as an admin user? If so, is the sshd service running?
>>
>> The first thing to get working is the ssh server. Make sure you can do
>> "ssh localhost" from your Cygwin computer. If that works, then there is
>> some firewall blocking the connection. If that doesn't, look at
>> /var/log/sshd.log to see why the sshd service didn't start.
>>
>> --
>> David Rothenberger  ----  daveroth@acm.org
>>
>> "Buy land.  They've stopped making it."
>>                 -- Mark Twain
>>
>> --
>> Problem reports:       http://cygwin.com/problems.html
>> FAQ:                   http://cygwin.com/faq/
>> Documentation:         http://cygwin.com/docs.html
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]