| | |
| | | /* |
| | | * Copyright (C) 2009 The Android Open Source Project |
| | | * Copyright 2014 gitblit.com. |
| | | * |
| | | * Licensed under the Apache License, Version 2.0 (the "License"); |
| | |
| | | msg.append(user.getDisplayName()); |
| | | msg.append(", you have successfully connected over SSH."); |
| | | msg.append(nl); |
| | | msg.append(" Interactive shells are disabled."); |
| | | msg.append(" Interactive shells are not available."); |
| | | msg.append(nl); |
| | | msg.append(nl); |
| | | msg.append(" client: "); |
| | |
| | | msg.append(nl); |
| | | msg.append(nl); |
| | | |
| | | msg.append(String.format(" cat ~/.ssh/id_rsa.pub | ssh -l %s -p %d %s gitblit keys add -", user.username, port, hostname)); |
| | | msg.append(String.format(" cat ~/.ssh/id_rsa.pub | ssh -l %s -p %d %s keys add", user.username, port, hostname)); |
| | | msg.append(nl); |
| | | msg.append(nl); |
| | | |