Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zined/dc1701dd6d0454a65eaa56437907820c to your computer and use it in GitHub Desktop.
Save zined/dc1701dd6d0454a65eaa56437907820c to your computer and use it in GitHub Desktop.
[[email protected]@ip-10-0-9-244 ~]$ kdestroy -A
[[email protected]@ip-10-0-9-244 ~]$ klist
klist: Credentials cache keyring 'persistent:818801110:krb_ccache_eHUMT0r' not found
[[email protected]@ip-10-0-9-244 ~]$
[[email protected]@ip-10-0-9-244 ~]$ ssh $( hostname -f )
[email protected]@ip-10-0-9-244.platzhalter.gmbh's password:
[[email protected]@ip-10-0-9-244 ~]$
[[email protected]@ip-10-0-9-244 ~]$ kinit [email protected]
Password for [email protected]:
[[email protected]@ip-10-0-9-244 ~]$ ssh $( hostname -f )
Last login: Sat Jul 22 09:26:15 2017 from ip-10-0-9-244.platzhalter.gmbh
[[email protected]@ip-10-0-9-244 ~]$ logout
Connection to ip-10-0-9-244.platzhalter.gmbh closed.
[[email protected]@ip-10-0-9-244 ~]$ klist
Ticket cache: KEYRING:persistent:818801110:krb_ccache_eHUMT0r
Default principal: [email protected]
Valid starting Expires Service principal
07/22/2017 09:26:40 07/22/2017 19:26:40 host/[email protected]
renew until 07/29/2017 09:26:35
07/22/2017 09:26:39 07/23/2017 09:26:35 krbtgt/[email protected]
renew until 07/29/2017 09:26:35
[[email protected]@ip-10-0-9-244 ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment