attach a remote host to a local console...

Antonis Faragitakis skatoulininis at yahoo.com
Sun Aug 17 13:29:37 EEST 2003


ola entaksei, ta brika me to systima ebala tin parakato
grammi to inittab kai ksekinaei kanonika sto tty9:
# Remote to console connection of firewall box
c9:12345:respawn:/sbin/agetty -f /etc/fissue -L -l /usr/bin/ssh 38400 tty9
i opoia kanei to eksis:

c9:12345:respawn:	# kserete ti

/sbin/agetty            # trexei to aggety
	-f /etc/fissue  # me ena non-standard issue file
	-L 	        # Force the line to be a local line with no need 	  		# for 
carrier detect
	-l /usr/bin/ssh # ektelei to ssh anti tou /bin/login
	38400           # bazei to baudwidth tou tty
	tty9	        # to tty to opoio na kanei attach to ssh

sto tty9 blepo:

THIS IS A TEST LINE # auti einai i grammi apo to  /etc/fissue
c0smophilia login:  # to c0smophilia den einai o firewall einai to box
		    # sto opoio briskome tora, normal output gia to
	            # /bin/login

sto "c0smophilia login: " anti gia user dino to host to opoio einai 
firewall kai meta dino to password gia na kano login.

to problima tora einai oti thelo na allakso to "c0mosphilia login: " 	
me kati san "Give host name: " or something.
auto apo pos mporei na ginei!?

filika
atnonis


Antonis Faragitakis wrote:
> kalimera!
> to pos doulevei to inittab to katalabeno, auto pou den katalaba einai to
> eksis sto <action> ti tha balo? diabasa to man ton inittab init alla
> den katalabe ti prepei na mpei sto <action> etsi oste na sindeso to
> remote box se kapoies apo tis local consoles (8..12)
> 
> atnonis
> 
> 




More information about the Linux-greek-users mailing list