[Info-vax] SSH access to EISNER (DECUServe) has changed

Johnny Billquist bqt at softjar.se
Sun Aug 27 10:32:33 EDT 2023


On 2023-08-26 20:21, alanfe... at gmail.com wrote:
> On Friday, August 25, 2023 at 8:08:58 PM UTC-4, alanfe... at gmail.com wrote:
>> On Friday, August 25, 2023 at 6:21:38 PM UTC-4, Steven Schweda wrote:
>>>> [...] I finally guessed the correct command.
>>>
>>> RTFM?
>> I did. No good. Got the -P, but got the port number wrong. The manual doesn't have the port number. I thought it would be different for ssh and sftp.
>> [...]
>>
>>> Revealing where you wanted to use what might have been helpful, too.
>>> Otherwise everyone else must guess, too.
>> Touché'. (Touche', if the diacritical thingie doesn't work.) I should have mentioned I'm working on a Mac. Sorry. "My bad!"
> 
> Also, who knows what other "options" (or "switches") in that wonderful, lengthy man page I might need? And there are a lot more options on the Mac than are listed above.
> 
> alan... at iMac-3 ~ % sftp -h
> usage: sftp [-46AaCfNpqrv] [-B buffer_size] [-b batchfile] [-c cipher]
>            [-D sftp_server_path] [-F ssh_config] [-i identity_file]
>            [-J destination] [-l limit] [-o ssh_option] [-P port]
>            [-R num_requests] [-S program] [-s subsystem | sftp_server]
>            destination
> alanfeldman at iMac-3 ~ %
> 
> Again, sorry about not indicating my OS.

sftp under VMS appears to use # after the host to indicate port.
That won't work on OSX. But checking the man-page:

      The destination may be specified either as [user@]host[:path] or 
as a URI
      in the form sftp://[user@]host[:port][/path].


Notice how you cannot give a port in the first form. -P is your only way 
then.

: is usually used to separate host from port in most tools, but since 
sftp uses : to separate host from path, there is a conflict on this one.

   Johnny




More information about the Info-vax mailing list