Re: sftp annoyance !

From: Per Hedeland (per_at_hedeland.org)
Date: 11/21/05


Date: Mon, 21 Nov 2005 21:59:40 +0000 (UTC)

In article <pan.2005.11.21.00.01.55.173256@way.cc> Unknown <nope@way.cc>
writes:
>I cant be the only person in the world to run a number of ssh servers not
>on the default port (for policy and firewall reasons).
>
>with the main ssh client I can use
>
> ssh -p<myport> user@host.domain
>
>BUT with sftp
>
> sftp -oPort=<myport> user@host.domain
>
>Now this sucks !!! Its difficult to remember if you haven't used sftp
>for a while and its inconsistent. Any chance one of the developers could
>think about adding -p to sftp, I know it has a "-P" option, but *nix is
>case sensitive so what the hell :-)

Well, sftp (and ssh) would still be inconsistent with scp... If you want
consistency, you can use -oPort=<myport> for all three!:-)

--Per Hedeland
per@hedeland.org



Relevant Pages

  • Re: Batch job to perform sftp transfer
    ... It relies on copying datasets to temporary HFS files ... I used /bin/cat with ssh so that I could transfer the data and pipe it to ... The IBM version of sftp doesn't support datasets, ... Batch job to perform sftp transfer ...
    (bit.listserv.ibm-main)
  • Re: SPAM sudden increase
    ... up ssh for some sftp session and saw something odd... ... Dude was on a tech call with f-secure and the tech asked, "So, are you ... To which the dude replied, "Yeah, I'm ...
    (alt.2600)
  • Re: SFTP is not working
    ... When I try to use sftp or scp2, I get a message like this: ... sftp and scp2 both actually work by running ssh in a subprocess, ... The reason the shell startup files are relevant at all, ...
    (comp.security.ssh)
  • Re: Secure file transfer
    ... We're talking about SFTP, which is a variant how to use SSH to secure the ... FTP protocol. ... is it better to use AUTH SSL or SSH/SFTP?" ...
    (comp.security.misc)
  • Re: Good sftp server?
    ... >SSH for OpenVMS is capable of doing text transfers. ... >colon on them unless you are using our SFTP client... ... version of the server (and is something I complained about to Multinet ... files between MacOS X and VMS, and use a directory structure on the Mac ...
    (comp.os.vms)