Aaron Kulkis wrote:
David C. Rankin wrote:
Listmates,

How do you tell ssh to log in as machine x.y.z? With bind running a single machine may be known as:

ftp.domain.com
mail.domain.com
machinename.domain.com
www.domain.com

When using ssh outbound from that box, how do you tell it to ssh as machinename.domain.com and not mail.domain.com?

wow... that might require /etc/hostfile entries.



DNS is on the same box, and there is an entry in /etc/hosts

[EMAIL PROTECTED]:~> cat /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost
192.168.6.20    lakehouse.140shoreline.com      lakehouse
192.168.6.16    nemesis.3111skyline.com nemesis


--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to