On 08/09/16 16:57, Per Jessen wrote:
gumb wrote:
Presumably, since I therefore currently have no access at all, I'll have to speak to the user of that remote machine and have them log in as root and add the relevant line to the hosts.allow file?
The remote machine needs to be open for connections on port 22 (the default for ssh). The rest should not matter.
See also my replies to jdd and others. I've thus far configured everything for a non-default port number.
Related to that, whilst the remote user's IP address is dynamic and their ISP charges a fee to switch to static, would I get around that by associating their domain name to their connection with reverse DNS?
You can get around that by using a dynamic DNS which updates a record whenever your IP changes. See. e.g. http://www.dns24.ch/
I know there are services, scripts and whatnot for working around dynamic DNS, which I haven't looked into much yet, but I just wondered specifically about linking a domain. The domain already exists and is used only for that user's email, but it could serve another purpose.
And then how do I specify which machine at their end, behind their router, my SSH command goes to? Until now I've only been specifying local addresses, e.g. 192.168.0.10.
Ah, the remote machine is behind a NAT'ing router? Then you need port forwarding on the router to forward port 22 to the machine you want to talk to.
Is this even how it works? I cannot find anything relating to that in any other SSH articles or guides I've googled for, which makes me think the concept is different.
It isn't really SSH related, it's the same issue for any service you want to access behind a NAT'ing router.
Is the machine effectively specified by the port number I assign, meaning I should assign different port numbers for every device?
Yup. In fact, you want to access multiple machines over SSH, you will need multiple port numbers.
Okay, that part seems clear now. There's still some other things I'll need to clear up. This thread is growing more quickly than I can type replies... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org