Tag Info

Hot answers tagged

4

As far as I know you cannot do this with SFTP nor ProFTPD. What I have done in the past with a similar requirement is to have program that runs as root scan the toplevel directories for an agreed upon file (in your case agreed upon with Alice and Bob e.g. account.new). Based on the content of that file the script run by root takes the appropriate actions, ...


3

It could be untrusted X11 forwarding timeout. Using the ForwardX11Timeout option with a large timeout may help, as suggested in https://bugzilla.mindrot.org/show_bug.cgi?id=1718 (I got this problem in the past, but IIRC, it disappeared after some upgrade).


2

Make sure you are not running out of disk space Run df and make sure you have sufficient disk space, if you are low on disk space remove unnecessary files from your system: $ df -h Make sure ~/.Xauthority owned by you Run following command to find ownweship: $ ls -l ~/.Xauthority Run chown and chmod to fix permission problems [replace user:group with ...


2

I wrote this quick script: #!/bin/bash ssh "$1" "nc -l 2020 > \"$2\" &" pv "$2" | nc "$1" 2020 It takes two args, the host to send it to and the file you are sending. It only works for one file. It uses ssh to start a netcat listening on the opposite end and then uses netcat to send it to that listening port. I added pv to the start to give a nice ...


2

Cisco routers has Telnet open by default. You have to explicitly make the configuration for SSH (set a domain, generase RSA, enable SSH 2.0 etc). Read the Cisco's documentation about how to configure Cisco and SSH.


2

The & at the end of your command makes it run in the background. Therefore, when you quit your SSH session, it will keep running. Also read http://superuser.com/a/152695/228108 (the comments mainly).


2

As indicated in the comments, your system is using systemd for service management. Systemd is a replacement for the traditional SysVinit. It also bundles in a lot of other things such as a syslog collector. In this case, to get access to your logs, you need to use the journalctl command. $ journalctl If you want to see only the sshd logs, you can pass a ...


1

Seems like the server does not want to allow it based onthe output of auth.log. I'd try adding arcfour back into the SSH server's sshd_config file. From the sshd_config man page: excerpt Ciphers Specifies the ciphers allowed for protocol version 2. Multiple ciphers must be comma-separated. The supported ciphers are “3des-cbc”, ...


1

(Disclaimer: I'm an Arch user, never used Slackware.) The program that prints the quotes is usually called fortune. It's available on most distros I have used, but the specific set of quotes may vary. Look in /etc/profile, or in scripts in /etc/profile.d for mentions of fortune. According to the description of the bsd-games package: Adds a call to ...


1

A few points: 1) fail2ban is just logic for modifying the system configuration so it doesn't really consume any bandwidth itself. 2) 60KB over the course of several minutes isn't that much bandwidth at all. 3) The 60KB of bandwidth you're looking at is for network traffic that matched the failed event. There's nothing you can do to lessen the traffic ...


1

You can use the DISPLAY environment variable to start a GUI program on the remote computer. However, it is not shown to you, but rather opens on the active X-session with address :0, which is the default for the first X-session. To enable, use export DISPLAY=:0 For more information, see this post. If you also want to see it, use ssh -X to log on that ...


1

From man ssh_config: ~/.ssh/config This is the per-user configuration file. The format of this file is described above. This file is used by the SSH client. Because of the potential for abuse, this file must have strict permissions: read/write for the user, and not accessible by others. Your private keys and your ...


1

There are patches for openssh for HPC (High Performance Computing) that improve ssh throughput by increasing transfer window sizes and disabling encryption - if you don't mind recompiling (and probably forward-porting patches), check HPN-SSH. As BowlOfRed noticed in the comment, you'd need to use the patches on both the client and the server. You can also ...



Only top voted, non community-wiki answers of a minimum length are eligible