SSH devices

setting up github ssh

generar llave

ssh-keygen -t ed25519 -C "your_email@example.com"

probar con estos comando

ssh -T git@github.com
ssh -i .ssh\id_ed25519 -T git@github.com

en windows al generar una llave en powershell siempre me daba error de permisos 'too open'. pero el mismo archivo en git bash me funcionaba.

lo que hice fue generar la llave en WSL, asimismo el archivo se guarda en ~/.ssh de wsl y usa el ssh agent de WSL.

Set up on Windows

go to Apps & features > Optional features > make sure OpenSSH client/server is installed > go to or run services.msc > OpenSSH server service and set it up for automatic run on boot or whatever I want (or run command Set-Service -Name sshd -StartupType 'Automatic').

If ssh Server is installed but not running, the run command is Start-Service sshd (powershell)

Optionally If I have windows linux subsystem I can probably ssh into that and use the more familiar bash terminal commands

setup on android

copy files over

scp command
scp RemoteUser@192.168.56.2:C:/Users/Administrator/Desktop/test.txt Desktop copies a fiel from remote desktop to local desktop
or vice versa scp hello.txt RemoteUser@192.168.56.2:C:/Users/Administrator/Desktop/hello-copy.txt