use port 22 in lsh
Andre Campos Rodovalho
andre.rodovalho at gmail.com
Thu Oct 22 17:52:21 UTC 2015
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/bbad0385/attachment.html>
More information about the Lubuntu-users
mailing list