wiki:add_serial_access_to_console_server

Version 1 (modified by Jamie McClelland, 12 years ago) (diff)

--

Adding a new user/server to the console server

After setting up a new server, you may want to enable serial access to that server via our serial server (console.mayfirst.org). In the example below zinn is the name of the server.

0 sylvia:~# adduser --disabled-password --gecos='zinn console user,,,' zinn-console
Adding user `zinn-console' ...
Adding new group `zinn-console' (1014) ...
Adding new user `zinn-console' (1014) with group `zinn-console' ...
Creating home directory `/home/zinn-console' ...
Copying files from `/etc/skel' ...
0 sylvia:~# cereal-admin create zinn /dev/ttyS14 115200 zinn-console zinn-console
Created session 'zinn':
--f zinn /dev/ttyS14 115200 zinn-console zinn-console
0 sylvia:~# cereal-admin start zinn
Started session 'zinn'.
0 sylvia:~# cat .ssh/authorized_keys >> ~zinn-console/.ssh/authorized_keys 
0 sylvia:~#