I have private service that I would like to access via SSH.
This private service has R and a bunch of command line tools installed, and I am using Net::SSH to upload files and run commands there from my main application.
This works file locally, but when I try to access my private service from within my webservice on a deployed Render environment, I cannot connect via SSH. How should I enable it on the private service?
On the private service I made sure that the ssh daemon was running, for the experiment I just ran /usr/sbin/sshd in a shell tab (check ps to make sure it’s running)
And then from the other service:
$ssh john@test-ssh-serviceThe authenticity of host 'test-ssh-service (10.131.155.240)' can't be established.ED25519 key fingerprint is SHA256:hBz2xq1yPJr0/o45goz1GoHl0GGvuzkn6EOA1zy4vtY.This key is not known by any other namesAre you sure you want to continue connecting (yes/no/[fingerprint])? yesWarning: Permanently added 'test-ssh-service' (ED25519) to the list of known hosts.john@test-ssh-service's password: Welcome to Alpine!The Alpine Wiki contains a large amount of how-to guides and generalinformation about administrating Alpine systems.See <http://wiki.alpinelinux.org/>.You can setup the system with the command: setup-alpineYou may change this message by editing /etc/motd.srv-cho80r02qv295pss5h70-d79f7b54-dm5ks:~$ lssrv-cho80r02qv295pss5h70-d79f7b54-dm5ks:~$ cd /srv-cho80r02qv295pss5h70-d79f7b54-dm5ks:/$ lsapp bin dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var
This is probably a fairly untrodden path but hopefully, this will get you on the right path