Tag Info

New answers tagged

0

Create a file ~/.ssh/config, with contents: Host test01 Hostname 192.168.3.1 Then chmod it to 0600 and enjoy. You can add any ssh_config(5) options there (changing the remote username is a particularly useful one), and youy can have as many Host sections as you like.


0

Get a dns server up and running. unbound is pretty simple and allows for private authoritative zones.


2

If I understand correctly you need to access some ansible variables defined for a generic host. You can access all hosts variables by the dictionary hostvars, that has hostname as primary key, for your example: {{ hostvars['foo']['ipv4']['address'] }} Credits goes to: ...


2

General troubleshooting advice for OpenSSH First of all I refer you to this short troubleshooting guide for sshd which I am using as a recipe time and time again. The plot thickens Only difference in this case, I used lxc-console to attach to the guest, logged in and stopped the running sshd and then started my instance on the default port 22. And then I ...


1

I don't know this is the right way or best solution but it works without NAT. The network topology is the same. We have one physical NIC (em1) and multiple IP for every container. Maybe later i can buy a subnet. But for now i'll buy 4 - 5 IPs. ------------------- | INTERNET | ------------------- ...


0

In Ubuntu, lxc-dev contains the header files, so it's the starting point for writing code using the LXC libraries. Typically for Ubuntu, foo provides stuff that end-users expect, and foo-dev provides what developers need.



Top 50 recent answers are included