[Leaplist] SSH Ports

Gray Frost grayf327 at gmail.com
Sun Aug 10 20:52:04 EDT 2008


Resolved!!!

I was modifiying the wrong config file.  I needed to make the change in the
"ssh*d*_config" file.  Note the "d".

all is well :)

On Sun, Aug 10, 2008 at 8:25 PM, Gray Frost <grayf327 at gmail.com> wrote:

>
> I changed the port to xxxxx in the /etc/ssh_config  file and rebooted.
>
> I get a "Connection refused" error message when I try to connect to the
> computer.  I got the same message when I tried connect to "localhost" as
> well.
>
> mycomputer at serenity:~$ ssh -p xxxxx mycomputer at mydnsaddress.dyndns.org
> ssh: connect to host mydnsaddress.dyndns.org port 50022: Connection
> refused
>
> If I reset my router port back to port 22 it works fine.
> FYI:  Ubuntu 8.04
>
> Do I need to change/open anything in my etho card settings?
>
>
> On Sun, Aug 10, 2008 at 4:18 PM, Jason Boxman <jasonb at edseek.com> wrote:
>
>> On Sunday 10 August 2008 16:07:09 Gray Frost wrote:
>> > hello,
>> >
>> > I have set up SSH on my computer and I can ssh in just fine.  I would
>> now
>> > like to change from the default port 22 to port XXXXX  I have changed
>> that
>> > in the routers virtual ports easy enough.
>> >
>> > 1) Where do I make the changes on my ssh host computer?
>>
>> Yes.
>>
>> > 2) In the /etc/ssh_config file there is a line "#port 22" (commented
>> out)
>> > Is this where I make the change?
>>
>> Yes.
>>
>> > 3) Do I have have to change anything else?
>>
>> No.
>>
>> > 4) Next question:  When ssy'ing or scp'ing in from an other computer is
>> it
>> > necessary to specifically call out the new port such as:
>> >
>> > "ssh -p XXXXX myuser at mydyndns.address"
>>
>> Yes.
>>
>> > 5) Does the other comp have to have the same port set up or is the
>> default
>> > port 22 ok on the other comp?
>>
>> Default is fine.
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> _______________________________________________
>> Leaplist mailing list
>> Leaplist at leap-cf.org
>> http://lists.leap-cf.org/mailman/listinfo/leaplist
>>
>
>
>
> --
>
> Gray
>
> " Don't think you are, know you are."
>
>


-- 

Gray

" Don't think you are, know you are."

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.leap-cf.org/pipermail/leaplist/attachments/20080810/29aba195/attachment.html


More information about the Leaplist mailing list