Copy your ssh config files for the Beyonwiz (authorized_keys, config, etc) into directory ssh (or any other name, but preferably not .ssh) onto a disk that your Beyonwiz can access (internal hard drive, thumb drive, network share, etc), put this script into the ssh directory. Then connect the drive if necessary, and run the script using MENU>Files / Sources.
You should then have your ssh access set up. The script itself won't be left in your /home/root/.ssh directory.
If there was already a .ssh directory installed, the script will replace it completely, so you can use the script to allow access even if the box has an ssh public key that you don't have the private key for.
It can be changed to install the .ssh files for other users by editing the HOME variable in the script.
Script contents:
Code: Select all
#!/bin/sh
DIR=`dirname $0`
SCRIPT=`basename $0`
HOME=/home/root
rm -rf "$HOME"/.ssh
cp -a "$DIR" "$HOME/.ssh"
chmod 700 "$HOME"/.ssh
chmod 644 "$HOME"/.ssh/*
rm "$HOME"/.ssh/"$SCRIPT"