Package OpenSSH version 9.6p1

This software has been compiled with the m68k-atari-mintelf cross-tools.

Original links

Homepage: https://www.openssh.com/
Original download: https://www.openssh.com/portable.html#http
Patch repository: https://github.com/vinriviere/openssh/

Sources

Original sources: openssh-9.6p1.tar.gz (1 MB)
MiNT ELF patch: openssh-9.6p1-mintelf-20240123.patch.xz (1.6 KB)

68000 binaries for MiNT

68000 binary: openssh-9.6p1-mintelf-20240123-bin-mintelf-20240215.tar.xz (2 MB)
68000 build script: openssh-9.6p1-mintelf-20240123-bin-mintelf-howto.txt (1.3 KB)

ColdFire binaries for MiNT

ColdFire binary: openssh-9.6p1-mintelf-20240123-bin-mintelfv4e-20240215.tar.xz (2 MB)
ColdFire build script: openssh-9.6p1-mintelf-20240123-bin-mintelfv4e-howto.txt (1.3 KB)

Quickstart for OpenSSH Server

  1. The server is your FreeMiNT machine (i.e. Falcon, ARAnyM or FireBee).
    The client is the remote machine from which you will connect. For example, a Linux machine with ssh command, or a Windows machine with PuTTY.
  2. Generate random server keys (if not already existing).
    ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
    ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
    ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
    
  3. Create a nogroup group (if not existing).
    Edit the /etc/group file, and and add the following line:
    nogroup::65534:
    
  4. Create an sshd user (if not existing).
    Edit the /etc/passwd file, and and add the following line:
    sshd:*:136:65534::/var/run/sshd:/sbin/nologin
    
    You can check the result using:
    $ id sshd
    uid=136(sshd) gid=65534(nogroup) groups=65534(nogroup)
    
  5. Set up a password for the user root.
    passwd
    
    Note: Connecting using other accounts is currently unsupported.
  6. Alternatively, you can configure sshd to allow empty passwords.
    This is not recommended as it is a security flaw.
    Edit the /etc/ssh/sshd_config file, and and add the following line:
    PermitEmptyPasswords yes
    
  7. By default, connecting to the root account using login/password is disabled.
    To allow that, edit the /etc/ssh/sshd_config file, and and add the following line:
    PermitRootLogin yes
    
  8. Ensure that the network is up and running.
    You may need to run the dhclient command to get an automatic IP address from DHCP, or use a static IP address.
    In any case, you can display your current IP address with:
    ifconfig
    
    Important: You will need this server IP address (or associated DNS name) in order to connect remotely.
  9. Start sshd from a terminal.
    cd /
    /usr/sbin/sshd -e
    
  10. Alternatively, if you need to see the debug logs, you can run sshd this way:
    /usr/sbin/sshd -d
    
  11. Now you can connect to your FreeMiNT server from anywhere. Use your favorite ssh client and your server IP address or DNS name.
  12. Caveat: ARAnyM 1.1.0 for Windows/Cygwin doesn't properly handle the 'x' flag on hostfs. In this case, login with fail with Access denied. If you run /usr/sbin/sshd -d, you will see the error User root not allowed because shell /bin/bash is not executable. Solution is to upgrade ARAnyM (when available) or to use an ext2 partition instead of hostfs.

Back to the MiNT ELF software list