Displaying 20 results from an estimated 900 matches similar to: "sftp/scp only without real users"
2018 Jan 23
8
Sending Signal to remote process
I want ssh to forward the SIGTERM signal to the remote command.
Example:
ssh root at localhost /root/print-signal.py
Get PID of ssh:
ps aux| grep print-signal
Kill the matching ssh process:
kill pid-of-ssh
Unfortunately only the ssh process itself gets the signal, not the remote command (print-signal.py). The remote command
does not terminate :-(
How can I make ssh
2017 Mar 14
4
Relaiable ssh tunnel via systemd
Am 14.03.2017 um 15:10 schrieb Nico Kadel-Garcia:
> Look into the "autossh" program, which is very good to manage and
> maintain such tunnels.
>
Hi Nico and other ssh users,
Systemd restarts the ssh if it terminates. AFAIK this is all that is needed.
But maybe I am missing something. Is there a feature of autossh that I don't
get with systemd?
--
2019 Nov 14
4
JMAP: Re: http API for IMAP
Am 14.11.19 um 14:03 schrieb Benny Pedersen via dovecot:
> Thomas G?ttler via dovecot skrev den 2019-11-14 08:55:
>
>> Is there already an open source imap2jmap server?
>
> why do you say imap here ?
>
> https://www.cyrusimap.org/imap/developer/jmap.html
>
> cyrus already have it, we just wait for dovecot :)
I used my favorite search engine (ecosia) and found
2019 Nov 14
6
http API for IMAP
Am 13.11.19 um 17:21 schrieb Ralph Seichter via dovecot:
> * Thomas G?ttler via dovecot:
>
>> Is there a way to access mails in dovecot via https?
>
> Why on earth would that be beneficial?
>
> "The Internet Message Access Protocol, Version 4rev1 (IMAP4rev1)
> allows a client to access and manipulate electronic mail messages
> on a server."
2019 Nov 18
2
Perl was: JMAP: Re: http API for IMAP
Am 16.11.19 um 08:15 schrieb Bron Gondwana via dovecot:
> proxy.jmap.io is very stale code at the moment.? I'm hoping to have enough time to hack on it at the IETF hackathon this
> weekend :)
I am a big biased. AFAIK it is written in Perl. I am very happy that I did not need to use Perl since 18 years now.
The regex where great. But time has changed.
Everytime you use regex today, I
2019 Nov 13
5
http API for IMAP
2017 Feb 24
2
[SUSPECTED SPAM] Canonical Link to Reference of "ServerAliveInterval"
What is the canonical link to Reference of "ServerAliveInterval"?
Background: I want to write an answer at serverfault (Q-A Site).
I want to avoid copy+pasting. I would like to lead the new comer
to the canonical reference.
Regards,
Thomas G?ttler
--
Thomas Guettler http://www.thomas-guettler.de/
2017 Mar 15
2
Relaiable ssh tunnel via systemd
Am 14.03.2017 um 21:43 schrieb Nico Kadel-Garcia:
> On Tue, Mar 14, 2017 at 4:20 PM, Thomas G?ttler
> <guettliml at thomas-guettler.de> wrote:
>>
>>
>>
>> Am 14.03.2017 um 15:10 schrieb Nico Kadel-Garcia:
>>> Look into the "autossh" program, which is very good to manage and
>>> maintain such tunnels.
>>>
>>
>> Hi
2019 Nov 14
2
JMAP: Re: http API for IMAP
Am 13.11.19 um 15:07 schrieb Benny Pedersen via dovecot:
> Thomas G?ttler via dovecot skrev den 2019-11-13 14:40:
>> I would love to write a progressive web app for accessing dovecot (via
>> IMAP)
>
> like all other webmail is using imap
>
>> But JavaScript in the browser can only use http/https.
>
> so what ? :=)
>
> hopefully you wont run webmail
2017 Mar 14
3
Relaiable ssh tunnel via systemd
We try to run a reliable ssh tunnel vis systemd.
This is the unit configuration file:
{{{
[Unit]
Description=Tunnel For %i
After=network.target
[Service]
User=autossh
ExecStart=/usr/bin/ssh -o "ExitOnForwardFailure yes" -o "ServerAliveInterval 60" -N -R 40443:installserver:40443 -R
8080:installserver:8080
ExecStartPre=-/usr/bin/ssh tunnel@%i "for pid in $$(ps -u
2015 Mar 18
10
[Bug 2368] New: ssh -v does not display the username which gets used to connect
https://bugzilla.mindrot.org/show_bug.cgi?id=2368
Bug ID: 2368
Summary: ssh -v does not display the username which gets used
to connect
Product: Portable OpenSSH
Version: 6.9p1
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
2019 Jan 04
3
[SUSPECTED SPAM] VPN over SSH: State of the art?
I know that this has been discussed before and I know that you should avoid
it, and use a real VPN solution.
I would like to move from port-forwarding via ssh to VPN and I have only
the ssh port open.
What is the current state of the art if you want to create VPN over ssh?
Regards,
Thomas
--
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback:
2018 Jan 08
2
naive sftp user point of view was: SFTP chroot: Writable root
Am 07.01.2018 um 19:41 schrieb halfdog:
> Hello list,
>
> I created a page to demonstrate, what would happen when chroot
> root directory is writeable. In fact, code execution is possible
> already, when only /etc and /bin are writable. I also tried to
> escape the chroot jail, but that did not work for non-root users.
>
> As the 2009 CVE activities mention, that creating
2011 Jun 29
5
Enhance sftp protocol: get SHA hash of file
Hi,
it would be great, if the sftp protocol could be
enhanced: get sha (or other hash value) from a file or part of a file.
This would make it possible to run a rsync like file transfer
on sftp.
I would suggest a protocol like this
Client sends to Server:
get-supported hash-methods
returns whitespace seperated list like md5 sha1 sha256 ....
get-hash HASH-METHOD FILENAME STARTOFFSET
2019 Nov 19
1
Perl was: JMAP: Re: http API for IMAP
Am 18.11.19 um 16:18 schrieb Ralph Seichter via dovecot:
> * Thomas G?ttler via dovecot:
>
>> https://github.com/guettli/programming-guidelines#regex-are-great---but-its-like-eating-rubbish
>
> Thanks for including the disclaimer "It's my personal opinion and
> feeling. No facts, no single truth." in your 'guidelines' (many of which
> I disagree
2017 Feb 09
3
Huge directory tree: Get files to sync via tools like sysdig
Am 09.02.2017 um 11:05 schrieb Ben RUBSON:
>> On 09 Feb 2017, at 10:05, Thomas Güttler <guettliml at thomas-guettler.de> wrote:
>>
>> Hi,
>>
>> we have a huge directory tree.
>>
>>
>> * 17M files (number of files)
>> * 2.2TBytes of data.
>> * Only 0.1% changes per day
>>
>> Current pain: rsyncs directory tree traversal
2018 Jan 05
3
SFTP chroot: Writable root
On Fri, Jan 05, 2018 at 09:42:18PM +1030, David Newall wrote:
> On 05/01/18 20:06, Jakub Jelen wrote:
> > if the confined user has write access to the chroot directory,
> > there are ways how to get out, gain privileges and or do other
> > nasty things.
>
> I'm not inexperienced with UNIX and unix-like operating systems (30+ years),
> and I can't think what
2017 Feb 09
4
Huge directory tree: Get files to sync via tools like sysdig
Hi,
we have a huge directory tree.
* 17M files (number of files)
* 2.2TBytes of data.
* Only 0.1% changes per day
Current pain: rsyncs directory tree traversal needs to long to discover the changed files. Only few files change.
I discovered the tool sysdig which could be used to monitor the files which were changed.
Then we could feed the list of changed files to rsync and avoid the
2015 Feb 04
8
Resubmission after N days
Hi,
I would like to implement a 43Folder system[1] with dovecot and a mail user agent.
Use case:
- I have a new mail in my inbox. I read it and see that I can't handle it now. I want to handle this mail in 5 days.
- Now I want to have some sort of resubmission: the mail should be moved to a different location for these 5 days.
- After 5 days the mail should be moved to my inbox again.
How
2007 Sep 05
3
Chrooting SFTP over SSH2
Hi,
As per the subject line - if I look up setting up chroot jails for SFTP over
SSH2 I'm led to various Web sites and patches and also to a CentOS wiki page
dated 2005, but what's the 'best' or 'correct' way to set this up for Centos
4.5 and 5?
Thanks