Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
...
Code Block |
---|
reg = CreateObject("roRegistrySection", "networking") print "Trying to enable serial with Telnet/SSH" print reg.write("serial_with_telnet", "1") reg.flush() |
...
Though the registry key is labeled "serial_with_telnet", it applies to both Telnet and SSH configurations.
Additional Notes
Multiple simultaneous connections are permitted via Telnet or SSH. The output is mirrored as a single, shared session.
A running script can be interrupted by pressing Ctrl-C (if script debugging is disabled, you may need to press Ctrl-C twice).
The SSH password remains set even if SSH access is disabled. There is currently no way to clear the password.
There is currently no support for authenticating against an SSH public key.
...