Hello,
TL;DR:
I would like be able to transfer files over ethernet from a system
that has been booted from bsd.rd, to an installed OpenBSD system.
This does not seem to be possible. If it is somehow possible, because
I am missing something, or perhaps because there is an undocumented
feature that allows it, I would appreciate any pointers.
More details:
On any installed OpenBSD system, if one types 'ftp', one gets a
prompt, and then can issue 'open' or other commands.
The complete list of possibilities is:
ftp [-46AadEegiMmnptVv] [-D title] [-k seconds] [-P port] [-r seconds]
[-s sourceaddr] [host [port]]
ftp [-C] [-N name] [-o output] [-s sourceaddr]
ftp://[user:password@]host[:port]/file[/] ...
ftp [-CTu] [-c cookie] [-N name] [-o output] [-S ssl_options]
[-s sourceaddr] [-U useragent] [-w seconds]
http[s]://[user:password@]host[:port]/file ...
ftp [-C] [-N name] [-o output] [-s sourceaddr] file:file ...
ftp [-C] [-N name] [-o output] [-s sourceaddr] host:/file[/] ...
The first option is the one that I need.
On a system booted from bsd.rd, however, if one enters 'ftp', one gets
a "usage" response, informing you that that 'ftp' requires arguments,
and that just 'ftp' is not an acceptable command line on that system.
The response is:
usage: ftp [-N name] [-o output] ftp://[user:password@]host[:port]/file[/] ...
ftp [-N name] [-o output] [-S ssl_options] [-w seconds]
http[s]://[user:password@]host[:port]/file ...
ftp [-N name] [-o output] [-s sourceaddr] file:file ...
ftp [-N name] [-o output] [-s sourceaddr] host:/file[/] ...
So the first option, which would allow sending a file, is absent.
I can't solve the problem by running ftpd on the bsd.rd system,
because ftpd is not there (understandably, room is tight). Similarly
neither ssh nor sshd is available either.
Please note, I am not complaining about the (possible) lack of an
capability; it may well be that it was intentionally left out. I just
want to know if I am missing something that would allow me transfer
a file using ftp.
Thanks
-- Sent with https://mailfence.com Secure and private email