Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sshd sftp forward [SOLVED - WONTFIX]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
misterjack
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1646

PostPosted: Mon Feb 06, 2012 1:27 pm    Post subject: sshd sftp forward [SOLVED - WONTFIX] Reply with quote

Hi, ich habe einen Rootserver mit mehreren Vserver. Der einzig externe sshd läuft auf dem root. Von dort kann man dann per user@host.intern sich weiterverbinden. Für spezielle Zwecke habe ich eine schlichte Weiterleitung mittels einen Script, welches für den speziellen User als Login-Shell eingetragen ist:

Code:
#!/bin/bash
/usr/bin/ssh user@host.intern


Der User verbindet sich mittels Key auf den Root und wird somit automatisch weitergeleitet. Die Lösung funktioniert für ssh super, bei subsystem-requests wie sftp leider nicht. Kennt jemand eine Methode wie ich subsystem-requests ebenfalls weiterleiten kann?
_________________
„Meine Meinung steht fest! Bitte verwirren Sie mich nicht mit Tatsachen.“


Last edited by misterjack on Wed Feb 08, 2012 9:41 am; edited 1 time in total
Back to top
View user's profile Send private message
misterjack
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1646

PostPosted: Wed Feb 08, 2012 9:41 am    Post subject: Reply with quote

habs anders gelöst, mod_sftp in proftpd für sftp-only zugang integriert
_________________
„Meine Meinung steht fest! Bitte verwirren Sie mich nicht mit Tatsachen.“
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum