aboutsummaryrefslogtreecommitdiffstats
path: root/gitjoe-newuser.pl
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:57:26 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-06 17:57:26 +0200
commit6c60542d0d5b82d45a751db9409e82af3e732fa2 (patch)
treef6083a8107470c9985d5e8de92b40bfec5859819 /gitjoe-newuser.pl
parentFix again (diff)
downloadjoe-scripts-6c60542d0d5b82d45a751db9409e82af3e732fa2.tar.gz
joe-scripts-6c60542d0d5b82d45a751db9409e82af3e732fa2.tar.bz2
joe-scripts-6c60542d0d5b82d45a751db9409e82af3e732fa2.tar.xz
joe-scripts-6c60542d0d5b82d45a751db9409e82af3e732fa2.tar.zst
joe-scripts-6c60542d0d5b82d45a751db9409e82af3e732fa2.zip
Better sshekys
Diffstat (limited to 'gitjoe-newuser.pl')
-rwxr-xr-xgitjoe-newuser.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitjoe-newuser.pl b/gitjoe-newuser.pl
index bd3c8ca..c64892d 100755
--- a/gitjoe-newuser.pl
+++ b/gitjoe-newuser.pl
@@ -15,7 +15,8 @@ sub main {
}
my $usr = $ARGV[0];
my $pass = $ARGV[1];
- my $sshkey = $ARGV[2];
+ my $sshkey = "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ";
+ $sshkey += $ARGV[2];
my $home_dir = '/usr/home/' . $usr . '/';
system(
'/usr/local/bin/dash',