use port 22 in lsh

Andre Campos Rodovalho andre.rodovalho at gmail.com
Thu Oct 22 17:54:52 UTC 2015


To check if the port is associated with the official list of known
services, type:

cat /etc/services | more


2015-10-22 15:52 GMT-02:00 Andre Campos Rodovalho <andre.rodovalho at gmail.com
>:

> sudo lsof -i:22
> Nice! Command, you can also use nmap...
>
> nmap -sT -O localhost
>
>
>
> 2015-10-22 15:44 GMT-02:00 Walter Lapchynski <wxl at ubuntu.com>:
>
>> On Thu, Oct 22, 2015 at 9:35 AM, Felipe M. Vieira <fmv1992 at gmail.com>
>> wrote:
>>
>>> I cannot use port 22 to start a lsh server on my machine. When I try I
>>> get:
>>> lshd: could not bind any address.
>>> It looks like the port is already used.
>>> But when I try:
>>> 'pidof ssh' I get nothing. It looks like it's using the port but not
>>> running.
>>>
>>
>> ssh and sshd are not one in the same. You'll find your PID with `pidof
>> sshd`. Better, yet, use `sudo lsof -i:22`.
>>
>> Still, though, I doubt that's the issue. It's not complaining about
>> binding the port, but it's complaining about binding the address. Are you
>> sure you gave it an address (127.0.0.1) to listen on?
>>
>> --
>> @wxl | http://polka.bike
>> Lubuntu Release Manager & Head of QA
>> Ubuntu PPC Point of Contact
>> Ubuntu Oregon LoCo Team Leader
>> Ubuntu Membership Board & LoCo Council Member
>> Eugene Unix & GNU/Linux User Group Co-Organizer
>>
>> --
>> Lubuntu-users mailing list
>> Lubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20151022/d4646831/attachment-0001.html>


More information about the Lubuntu-users mailing list