I believe I have finally have the prerequisite knowledge from asking other questions: question1 and question2 on this site.
I wish to SSH from my Android Tablet (probably with SSH client Connect Bot) to my Ubuntu machine, which runs Ubuntu 12.04 LTS. This is what I have done so far:
- Installed openssh-server on my Ubuntu machine.
Verified that my
sshd_config
file permitsPubKeyAuthentication
From the Ubuntu documentation under SSH Keys from the server we can give access to a remote machine by following the instructions which will give the remote machine the public key.
This is done by the command: ssh-copy-id username@remotehost
Since I wish to connect to my Ubuntu machine remotely through my tablet I need to know the identity/address of my tablet which is referred to as username@remotehost
in the documentation. This leads to the following question:
Question1: What is the value of: username@remotehost
for my Android tablet? Please give example values and comment on whether these values can change?
Suppose, I sufficiently completed the previous step. Then from my tablet I should be able to open the connect bot application and connect to my Ubuntu machine. When I open connect bot I get a prompt like the following: username@hostname:port
, which would allow me to connect to another machine with that identity. This leads to the following question:
Question2: What is the value of username@hostname:port
for my Ubuntu Machine? Please give example values and comment on whether these values can change?
I believe the information I have presented is clear, accurate and sufficient in answering my questions. However, as I do not have any experience with networking perhaps I have not included enough information. Please let me know if you need more information and thanks in advance for all the help!