Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T116
Change Details
Change Details
Old
New
Diff
The class GetPublicKeys offer several small methods to write a line like ``` command="getcredentials",from="server.domain.tld",no-port-forwarding,no-x11-forwarding,no-agent-forwarding ssh-rsa ... Zemke-Rhyne ``` This line is divided in four parts: - the SSH options - the key algo (e.g. ssh-rsa) - the SSH public key itself (here truncated to ...) - a comment Instead of functions with a focus to write text, it could be more flexible to create an AuthorizedKeysLine class, with: - booleans to enable or disable options like //no-x11-forwarding//, matching [[ http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8?query=sshd&sec=8#x415554484f52495a45445f4b4559532046494c4520464f524d4154 | man 5 authorized_keys ]] - arrays of string to fill //from// - a __toString() method to get the string representation of the line This will allow to reuse this class in more deployment scripts. #easy **This task has been identified as suitable for newcomers volunteers to familiarize themselves with our code base and infrastructure.**
The class GetPublicKeys offer several small methods to write a line like ``` command="getcredentials",from="server.domain.tld",no-port-forwarding,no-x11-forwarding,no-agent-forwarding ssh-rsa ... Zemke-Rhyne ``` This line is divided in four parts: - the SSH options - the key algo (e.g. ssh-rsa) - the SSH public key itself (here truncated to ...) - a comment Instead of functions with a focus to write text, it could be more flexible to create an AuthorizedKeysLine class, with: - booleans to enable or disable options like //no-x11-forwarding//, matching [[ http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8?query=sshd&sec=8#x415554484f52495a45445f4b4559532046494c4520464f524d4154 | man 5 authorized_keys ]] - arrays of string to fill //from// - a __toString() method to get the string representation of the line This will allow to reuse this class in more deployment scripts. #easy **This task has been identified as suitable for newcomers volunteers to familiarize themselves with our code base and infrastructure.**
Continue