On 11/26/22 14:14, Feng Shao wrote:
Thanks for the reply Petr.
Let me explain more about the motivation: I am a developer and our
testers test the code on various environments, including VMs on cloud
and k8s worker nodes from cloud providers. These machines and IPs are
not
Aha! This indeed meets my requirements exactly! In my case I also added '-l
root' to alias.
Thank you!
On Sat, Nov 26, 2022 at 10:36 PM Geoff Back wrote:
> Hello,
>
> How about adding:
>
> alias labssh='ssh -i ~/.ssh/id_rsa.work'
>
> to your shell profile (.bashrc or whatever)? Then you can
On 23.11.2022 06:47:27, Feng Shao wrote:
There are a bunch of machines in our lab, and we normally don't have
DNS records configured for them, only accessing by IP. In order to ssh
to them with key auth, I have a config in my .ssh/config like
Host *.mylab
User root
IdentityFile
Another option would be running BIND on an alternate socket, use
nsupdate to add the addresses.
DNSMASQ to redirect *.mylab to the BIND instance or BIND can be run in
authoritative (for tld: "mylab.") & access restricted recursing on
socket 53.
On 11/26/22 07:55, Geoff Back wrote:
Hello,
Hello,
How about adding:
alias labssh='ssh -i ~/.ssh/id_rsa.work'
to your shell profile (.bashrc or whatever)? Then you can just do
'labssh ' and the alias expansion makes ssh use the
appropriate ID file.
Regards,
Geoff.
Geoff Back
What if we're all just characters in someone's nightmares?
Thanks for the reply Petr.
Let me explain more about the motivation: I am a developer and our testers
test the code on various environments, including VMs on cloud and k8s
worker nodes from cloud providers. These machines and IPs are not
provisioned/allocated by dnsmasq. For cost reason, these
Did you know that dnsmasq registers all hosts by their name, if they
send their own hostname when requesting DHCP from dnsmasq? Just use
domain=mylab and have that host send hostname. It would make using names
possible without any additional configuration.
I do not get what is the advantage
On Thu, Nov 24, 2022 at 08:47:28AM +0100, Matus UHLAR - fantomas wrote:
> On 24.11.22 10:10, Feng Shao wrote:
> > On Wed, Nov 23, 2022 at 5:28 PM Geert Stappers wrote:
> > > On Wed, Nov 23, 2022 at 01:47:27PM +0800, Feng Shao wrote:
> > > > There are a bunch of machines in our lab, and we normally
On Wed, Nov 23, 2022 at 01:47:27PM +0800, Feng Shao wrote:
> There are a bunch of machines in our lab, and we normally don't have DNS
> records configured for them, only accessing by IP. In order to ssh to them
> with key auth, I have a config in my .ssh/config like
>
> Host *.mylab
> User root
Thanks Geert,
On Wed, Nov 23, 2022 at 5:28 PM Geert Stappers via Dnsmasq-discuss <
dnsmasq-discuss@lists.thekelleys.org.uk> wrote:
> On Wed, Nov 23, 2022 at 01:47:27PM +0800, Feng Shao wrote:
> > There are a bunch of machines in our lab, and we normally don't have DNS
> > records configured
On Wed, Nov 23, 2022 at 01:47:27PM +0800, Feng Shao wrote:
> There are a bunch of machines in our lab, and we normally don't have DNS
> records configured for them, only accessing by IP. In order to ssh to them
> with key auth, I have a config in my .ssh/config like
>
> Host *.mylab
> User root
There are a bunch of machines in our lab, and we normally don't have DNS
records configured for them, only accessing by IP. In order to ssh to them
with key auth, I have a config in my .ssh/config like
Host *.mylab
User root
IdentityFile ~/.ssh/id_rsa.work
and I have some
12 matches
Mail list logo