On 2/20/2011 9:00 AM, VAXman- @SendSpamHere.ORG wrote:
In article<ijofn4$i75$1@xxxxxxxxx>, helbig@xxxxxxxxxxxxxxxxxxxxxxxx (Phillip Helbig---undress to reply) writes:
In article
<df8d248a-64d2-42c2-97ea-fd74dedda748@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, Neil
Rieck<n.rieck@xxxxxxxxxxxx> writes:

2) SSH is based upon port 22. If the source computer can't connect to
the destination computer on port 22 (lets say it was due to a
misconfigured firewall or proxy-server) then other technologies like
SFTP and SCP have no chance of working.

So SSH, SFTP and SCP all go to port 22 by default?

Yes. They're all manifestations of ssh.

You can easily change the port with:

$ ssh -p ####
$ sftp -oPort=####>
$ scp -P ####

Don't you just love that unix command line uniformity? ;)

No, but if you must play with Unix, you must either live with the shell as is or modify it to suit your preferences. I suspect learning the strange language and syntax is easier than rolling your own. Some people even like it that way.

There are millions of Unix users out there who seem to find the syntax and semantic usable and useful. They couldn't care less what we think! ISTR that someone wrote a "DCL shell" but I don't think it ever became popular.


Relevant Pages

  • Re: Using SSH or SCP in REXX under TSO
    ... Now, on your non-z/OS UNIX shell, you can ssh into z/OS ... Using SSH or SCP in REXX under TSO ... from there I can "scp" files to my Unix machine. ...
  • Re: Security basics
    ... to connect (and the -P parameter of scp) but in my opinion it's worth it. ... without complaint. ... will magically get ssh and scp to "know" the correct default port for ... any ssh activity to ...
  • 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. ...
  • Re: Create a secure telnet connection via a Windows 2000 server
    ... I've installed Cygwin with SSH and have been trying the following command to ... create an encrypted port forwarded tunnel to a telnet session on our unix ... I use a normal telnet client to port ... from a unix server that currently only does telnet. ...
  • 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, ...