On 31/10/10 18:57, Seb wrote:
Hi,
I use SSH to connect to a laptop computer that is in an institutional
network. I would like to set an entry for it in my local /etc/hosts, so
that I don't have to type the IP address every time I want to connect to
is and simply use an alias. As per the man pa
On Sun, 31 Oct 2010 20:17:05 -0600,
Bob Proulx wrote:
[...]
> I assume the laptop gets a dynamic address from DHCP and doesn't
> register a dynamic DNS address for it?
My understanding of these terms is very limited, but I think so.
> If you only need this for ssh then you can add an entry in
Seb wrote:
> I use SSH to connect to a laptop computer that is in an institutional
> network. I would like to set an entry for it in my local /etc/hosts, so
> that I don't have to type the IP address every time I want to connect to
> is and simply use an alias.
I assume the laptop gets a dynamic
On Sun, Oct 31, 2010 at 4:03 PM, Seb wrote:
> On Sun, 31 Oct 2010 16:00:34 -0400,
> Tom H wrote:
>>
>> I've never seen "dnshostname" before. You must be looking for
>> "hostname" or "hostname -f". ("domainname" returns the nis domain.)
>
> Sorry, I mistyped it; I meant dnsdomainname.
No worries.
On Sun, 31 Oct 2010 16:00:34 -0400,
Tom H wrote:
[...]
> I've never seen "dnshostname" before. You must be looking for
> "hostname" or "hostname -f". ("domainname" returns the nis domain.)
Sorry, I mistyped it; I meant dnsdomainname.
--
Seb
--
To UNSUBSCRIBE, email to debian-user-requ...@
Great, thanks every one.
--
Seb
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fwvm872v@kolob.sebmags.homelinux.org
On Sun, Oct 31, 2010 at 2:57 PM, Seb wrote:
>
> I use SSH to connect to a laptop computer that is in an institutional
> network. I would like to set an entry for it in my local /etc/hosts, so
> that I don't have to type the IP address every time I want to connect to
> is and simply use an alias.
On Sun, 31 Oct 2010 13:57:22 -0500, Seb wrote:
(...)
> To get the canonical_hostname I thought I'd easily get it by typing
> "dnshostname" when logged into the remote laptop, but that returns
> nothing, and "domainname" returns '(none)'.
Just a side note. You can run "hostname" to get the name
On 10/31/2010 02:16 PM, Seb wrote:
On Sun, 31 Oct 2010 20:10:00 +0100,
Klistvud wrote:
[...]
Any name you come up with will work, if hard-coded into your
/etc/hosts. Of course, it won't be canonical ...
Thanks, so what would make it canonical?
Don't get hung up on the word "canonical".
On Sun, 31 Oct 2010 20:10:00 +0100,
Klistvud wrote:
[...]
> Any name you come up with will work, if hard-coded into your
> /etc/hosts. Of course, it won't be canonical ...
Thanks, so what would make it canonical?
--
Seb
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with
Dne, 31. 10. 2010 19:57:22 je Seb napisal(a):
Hi,
I use SSH to connect to a laptop computer that is in an institutional
network. I would like to set an entry for it in my local /etc/hosts,
so
that I don't have to type the IP address every time I want to connect
to
is and simply use an alia
Hi,
I use SSH to connect to a laptop computer that is in an institutional
network. I would like to set an entry for it in my local /etc/hosts, so
that I don't have to type the IP address every time I want to connect to
is and simply use an alias. As per the man page, /etc/hosts has:
IP_address
12 matches
Mail list logo