Re: Forcing ssh connections to a server to use a particular port

From: Matthew Poole (spam_at_stops.here)
Date: 07/14/05


Date: Thu, 14 Jul 2005 21:37:21 +1200

On Thu, 14 Jul 2005 08:56:24 +0000, someone purporting to be Darren Tucker
didst scrawl:

> On 2005-07-14, Matthew Poole <spam@stops.here> wrote:
>> A server I connect to has moved SSH to a non-standard port, for various
>> reasons.
>> Using OpenSSH on FreeBSD, is there any way to connect to the new port
>> without having to use -p? A hosts file somewhere?
>
> $ man ssh_config
> [snip]
> Port Specifies the port number to connect on the remote host.
> Default is 22.

Ah, there we got. Thanks

-- 
Matthew Poole
"Don't use force.  Get a bigger hammer."


Relevant Pages

  • Re: FreeBSD Security Advisory: FreeBSD-SA-01:63.openssh
    ... Does this also apply to the openssh-portable port? ... Versions of OpenSSH are ... > included in the FreeBSD ports collection and the FreeBSD base system. ... > package may be installed on FreeBSD 4.4-RELEASE systems only, ...
    (FreeBSD-Security)
  • FreeBSD Security Advisory: FreeBSD-SA-01:01.openssh
    ... OpenSSH is an implementation of the SSH1 and SSH2 secure shell ... corrected prior to the release of FreeBSD 4.2. ... correction date, or patch your current system source code and rebuild. ... Upgrade your entire ports collection and rebuild the OpenSSH port. ...
    (FreeBSD-Security)
  • partition/cd recognition problem hal GNOME 2.16 FreeBSD RELEASE 6.2
    ... FreeBSD elbereth.gateway.2wire.net 6.2-RELEASE FreeBSD ... 0xf0000000-0xf7ffffff,0xffa80000-0xffafffff irq 16 at ... fdc0: port ... perm devstat 0444 ...
    (freebsd-questions)
  • usb devices dont "wake up"
    ... Copyright 1992-2008 The FreeBSD Project. ... <ACPI PCI bus> on pcib0 ... port ... soft updates support ...
    (freebsd-questions)
  • Is FreeBSD ready for desktop (Mozilla Flash)
    ... monitor,, somehow the install fails to detect ... "Macromedia Flash plugin is not available for FreeBSD. ... I quote again "Install the www/linuxpluginwrapper port. ... servers, ...
    (comp.unix.bsd.freebsd.misc)