Re: Security basics



Somebody in the thread at some point said:

With a nonstandard port you do have to remember to use the -p parameter of ssh
to connect (and the -P parameter of scp) but in my opinion it's worth it.

Oooh I'm going to make your day then... I used -p / -P for a long while
without complaint. Then I discovered one can set up a two line stanza
per server in the client side ~/.ssh/config:

Host some.server.com
Port 12345

will magically get ssh and scp to "know" the correct default port for
any ssh activity to some.server.com. COOL! That and ssh-agent holding
passphrases: safe ssh on a random listening port is really transparent
and easy.

-Andy

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Is ssh not safe?
    ... >> for ssh since scp uses the same port. ... ssh client package. ... *nix users will find scp and sftp included with the OpenSSH package. ...
    (Fedora)
  • Re: SSH
    ... So SSH, SFTP and SCP all go to port 22 by default? ... No, but if you must play with Unix, you must either live with the shell as is or modify it to suit your preferences. ...
    (comp.os.vms)
  • Re: [opensuse] Coordinated, distributed ssh attacks?
    ... obscurity" approach by running my ssh daemon on a different port. ... Sure, it will stop scripted attacks, but it breaks rsync et al. ... See other postings in this thread - rsync, scp et al is not a problem, ...
    (SuSE)
  • Re: ssh gives "Permission denied, please try again"
    ... port 22 on your internal machine, so you will need to keep ssh up to ... I configure the router to forward a different external port to 22 on my ... For good measure pick usernames that are none obvious, ... root/password: 163 times ...
    (uk.comp.os.linux)
  • [NEWS] SSH service at Dell DRAC4 Denial of Service (Mocana)
    ... SSH service at Dell DRAC4 Denial of Service ... Dell Remote Access Card 4 allows customers to effectively manage ... After the use of such a port scanner, ...
    (Securiteam)