AminetAminet
Search:
85852 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

comm/net/bebbossh.aarch64-aros.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:SSH2 server and client suite with SFTP
Author:Stefan Franke (BebboSSH), Michele Dipace (AROS port)
Uploader:michele dipace kaffeine net (Michele Dipace)
Type:comm/net
Version:1.0.10
Architecture:i386-aros
Date:2026-11-12
Requires:AROS for the Raspberry Pi (aarch64) with AROSTCP
Replaces:comm/net/bebbossh.aarch64-aros.lha
Download:comm/net/bebbossh.aarch64-aros.lha - View contents
Readme:comm/net/bebbossh.aarch64-aros.readme
Downloads:422

WHAT IS THIS?

BebboSSH is an SSH2 implementation for Amiga systems by Stefan "Bebbo"
Franke. This archive is its port to
AROS aarch64 (the Raspberry Pi port of AROS).
With it you can log in to an AROS machine from any SSH client, run
commands, and copy files with scp and sftp; the native clients connect
from AROS to other SSH servers. The original 68k version is
comm/net/bebbossh.lha;
the AROS i386 build is comm/net/bebbossh.i386-aros.lha,
the AROS x86_64 build is comm/net/bebbossh.x86_64-aros.lha.

PROGRAMS

  bebbosshd       SSH2 server: remote commands, SFTP, SCP, TCP port
                  forwarding (direct-tcpip), password and public-key login
  bebbossh        SSH2 client, with -L local port forwarding
  bebboscp        SCP client
  bebbosshkeygen  Ed25519 key generator

Algorithms: curve25519-sha256 key exchange, ssh-ed25519 host and user
keys, aes128-gcm@openssh.com and chacha20-poly1305@openssh.com ciphers.

REQUIREMENTS

- AROS for the Raspberry Pi, aarch64. Tested on a Raspberry Pi 400
  with the raspi-aarch64 build of 2026-09-12 and its Ethernet.
- A configured TCP/IP stack (AROSTCP, bsdsocket.library).
- No extra libraries: the crypto code is linked into each program.

CONTENTS

  BebboSSH/bebbosshd, bebbossh, bebboscp, bebbosshkeygen
  BebboSSH/sshd_config.example, passwd.example
  BebboSSH/README.AROS.txt   install and configuration guide
  BebboSSH/README.md, AROS_PORTING.md, docs/, scripts/
  BebboSSH/COPYING, LICENSE  license texts (GNU GPL v3)
  BebboSSH/SHA256SUMS        checksums of the files above

INSTALLATION

1. Extract the archive to the system volume, SYS:. On the Pi image
   SYS: is a FAT volume: protect reports an error there, which can be
   ignored, the programs still run.
2. In an AROS Shell, create the configuration and a host key. The
   throwaway key first creates the random seed (see README.AROS.txt,
   Random Numbers):

     cd SYS:BebboSSH
     copy sshd_config.example sshd_config
     copy passwd.example passwd
     bebbosshkeygen -f T:seed_key
     delete T:seed_key T:seed_key.pub
     bebbosshkeygen -f ssh_host_ed25519_key

3. Edit passwd: one "username password" pair per line. The test/test
   entry of the example is for a first test only; replace it.
4. Start the server:

     stack 262144
     bebbosshd

5. From another machine: ssh username@<address of the AROS machine>

To start the network and the server at boot, AROSTCP must start at
boot (ENVARC:AROSTCP/AutoRun containing True); then start the server
from S:User-Startup a few seconds later. The scripts used on the Pi
400 are in BebboSSH/docs/AROS_AARCH64_RELEASE.md (Autostart).

To call the clients from anywhere, copy bebbossh, bebboscp and
bebbosshkeygen to C:. Keep bebbosshd in its own directory: the example
configuration finds its files through PROGDIR:.

CONFIGURATION

bebbosshd reads ENVARC:ssh/sshd_config if it exists, otherwise
PROGDIR:sshd_config. The main directives (the example sets all but
Ciphers, AllowTcpForwarding and InteractiveShell, which keep their
defaults):

  Port 22                 TCP port
  ListenAddress 0.0.0.0   address to listen on (0.0.0.0 = all)
  HostKey PROGDIR:ssh_host_ed25519_key
  Passwords PROGDIR:passwd
  HomeDir DH0:            start directory of commands and SFTP
  Stack 262144            stack of command tasks (default 1 MiB)
  DebugLevel 1            log level: 0 none to 8 ultra, or a name such
                          as error or debug
  SendNoop some           keepalive messages to idle sessions
  Ciphers aes128-gcm@openssh.com,chacha20-poly1305@openssh.com
                          ciphers offered (both by default)
  AllowTcpForwarding yes  direct-tcpip forwarding (ssh -L); no refuses it
  InteractiveShell yes    commands of the interactive shell and of
                          "ssh -t host command" get the SSH session as
                          console; no: commands without input

Command-line options override the file: -p port, -A password file,
-K host key, -H home directory, -v log level (for example -v5).
Public-key login reads ENVARC:.ssh/authorized_keys (OpenSSH format,
one key per line). README.AROS.txt describes every file in detail.

USAGE

From a PC with OpenSSH:

  ssh user@aros-host version
  scp file.txt user@aros-host:SYS:
  sftp user@aros-host

From AROS:

  bebbossh user@host
  bebbossh -i SYS:keys/id_ed25519 user@host command
  bebbossh -L 8080:localhost:80 user@host
  bebboscp localfile user@host:remotefile
  bebbosshkeygen -f SYS:keys/id_ed25519

The first connection to a host asks, in a console window, whether to
trust its key: answer yes. The key is then kept in
ENVARC:.ssh/known_hosts. Without a console (for example in a remote
command) an unknown host is refused. A host whose key differs from the
stored one is always refused with a warning; if the change is
expected, remove its line from known_hosts.

KNOWN LIMITS

- Every line of the interactive shell runs in a shell of its own, so
  local variables and aliases do not carry over to the next line.
- A command without a terminal ("ssh host command") gets no input,
  and no redirection or pipes (>, <, |).
- A command without a terminal still running after 30 seconds gets a
  timeout notice and exit status 124, but it keeps running until it
  ends.
- On the Raspberry Pi 400, a server logging at debug level (-v5) into
  a console window during heavy transfers froze the system. Keep the
  default log level there.
- OpenSSH "put -p" sets the file time before it closes the file, and
  AROS updates the date on close, so that time is not kept.
- passwd.example contains a test password: change it.

WHAT IS NEW IN 1.0.10

- Console for commands (InteractiveShell in sshd_config, on by
  default). A command typed in the interactive shell, or started with
  "ssh -t host command", runs in its own task with the SSH session as
  console: it can ask questions and read the answers, its output
  arrives while it runs, Ctrl-C stops it, redirection to a file works
  and other connections are served meanwhile.
- Every run of bebbossh, bebboscp or bebbosshkeygen left about 167 KB
  of memory in use until the next boot (AROS posixc.library). The
  programs are now built without it and leave a few bytes.
- The directory bebbosshd was started from stayed locked after the
  server had ended, once it had run a command. It can now be deleted
  or renamed.

TESTED

On a Raspberry Pi 400 with the programs of this archive: in the
console, a question with a typed answer, output while a script runs,
Ctrl-C, redirection, bebbosshkeygen asking for the file name, a
bebbossh session inside the session, "ssh -t" with the exit status, a
dropped connection; OpenSSH ssh, scp and sftp; 100 logins in a row;
80 file transfers without pauses; uploads up to 16 MiB; 4 MiB copies
with both ciphers; the native clients over loopback; a client that
stops reading; the memory left by each program.

SOURCE AND LICENSE

GNU GPL v3 or later (see COPYING). Source of this release:
  https://github.com/kaffeine1/bebbossh-aros/tree/v1.0.10-aros-aarch64
Original BebboSSH: https://franke.ms/git/bebbo/bebbossh
Bug reports: https://github.com/kaffeine1/bebbossh-aros/issues

Port by Michele Dipace <michele.dipace@kaffeine.net>.

Support my work on the AROS port on Patreon:
  https://www.patreon.com/c/kaffeine1
or with a one-time contribution on Ko-fi:
  https://ko-fi.com/kaffeine1
Contributions are voluntary; no subscription is required to use
this software.


Contents of comm/net/bebbossh.aarch64-aros.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 11 08:59 BebboSSH/
-rw-r--r--   501/20       5714   12487  45.8% -lh5- 9d01 Nov 11 08:59 BebboSSH/AROS_PORTING.md
-rw-r--r--   501/20      12589   35148  35.8% -lh5- e5b4 Nov 11 08:59 BebboSSH/COPYING
-rw-r--r--   501/20       1281    2633  48.7% -lh5- 6252 Nov 11 08:59 BebboSSH/LICENSE
-rw-r--r--   501/20       3564    8195  43.5% -lh5- f818 Nov 11 08:59 BebboSSH/README.AROS.txt
-rw-r--r--   501/20       4246    9332  45.5% -lh5- 280c Nov 11 08:59 BebboSSH/README.md
-rw-r--r--   501/20        880    1454  60.5% -lh5- 141f Nov 11 08:59 BebboSSH/SHA256SUMS
-rwxr--r--   501/20      77876  219256  35.5% -lh5- e8ec Nov 11 08:59 BebboSSH/bebboscp
-rwxr--r--   501/20      73467  207744  35.4% -lh5- 8ce7 Nov 11 08:59 BebboSSH/bebbossh
-rwxr--r--   501/20      96834  272024  35.6% -lh5- f532 Nov 11 08:59 BebboSSH/bebbosshd
-rwxr--r--   501/20      32690   88488  36.9% -lh5- 7c22 Nov 11 08:59 BebboSSH/bebbosshkeygen
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 11 08:59 BebboSSH/docs/
-rw-r--r--   501/20       2681    5707  47.0% -lh5- 4bf0 Nov 11 08:59 BebboSSH/docs/AROS_AARCH64_RELEASE.md
-rw-r--r--   501/20       1673    3815  43.9% -lh5- c3aa Nov 11 08:59 BebboSSH/docs/AROS_TESTER.md
-rw-r--r--   501/20        169     250  67.6% -lh5- f99a Nov 11 08:59 BebboSSH/passwd.example
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 11 08:59 BebboSSH/scripts/
-rwxr-xr-x   501/20       2076    6605  31.4% -lh5- ead4 Nov 11 08:59 BebboSSH/scripts/aros-aarch64-public-release-smoke.sh
-rwxr-xr-x   501/20       1799    6294  28.6% -lh5- e7f0 Nov 11 08:59 BebboSSH/scripts/aros-auth-forward-test.sh
-rwxr-xr-x   501/20       1836    6378  28.8% -lh5- 1c10 Nov 11 08:59 BebboSSH/scripts/aros-ssh-smoke-test.sh
-rwxr-xr-x   501/20       1346    3762  35.8% -lh5- fe1c Nov 11 08:59 BebboSSH/scripts/aros-transfer-stress-test.sh
-rw-r--r--   501/20        527     913  57.7% -lh5- 3a42 Nov 11 08:59 BebboSSH/sshd_config.example
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        21 files  321248  890485  36.1%            Nov 12 00:28
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>