Open smheidrich opened 8 years ago
The possibility to disable automatic SSH key generation together with one that disables the localhost check should be enough to answer "yes" to #9, provided that the user has SSH properly set up.
We could combine both of these options into another (additional) option like --outside-pool
, because that is all that's needed.
Basic CLI options implemented in https://github.com/smheidrich/kitphysikpool-logout/commit/318a4dff5f1f918bd45d45b812f3cb219e37a31a, but there are still some missing.
The --outside-pool
option I mentioned above is called --remote
, but it only works from inside the KIT network (otherwise the pool computers' FQDNs don't resolve to anything).
The options that are still missing are pretty much pointless if there is not going to be support for running this from outside the pool: Inside the pool, the SSH username is always the same as the current username (whoami
) and there is no need to change the hostname pattern. Probably won't implement the "missing" options anytime soon.
Command-line options would be nice, e.g. for (updated list, see comments below):
ssh -i
)Should be done using GNU
getopt
(notgetopts
!).