Hi there, I have problems making a sftp/scp from my LEAF Bering 1.2 to a local host. Connecting from a sftp client on the host to router works fine. When connecting from router (192.168.22.1) to host (192.168.22.3) I get the error message shown below.
firewall: -root- # sftp 192.168.22.3 Connecting to 192.168.22.3... exec: /usr/bin/ssh: Permission denied # sftp -o "UsePriviledgedPort no" 192.168.22.3 Connecting to 192.168.22.3... exec: /usr/bin/ssh: Permission denied Couldn't read packet: Connection reset by peer I hope some of you can help me. I expect some trivial error, as I am fairly new to Linux. Kind regards Axel B. Bregnsbo Additional information: 1) ssh connection from the host to the router works fine. The host is using Putty on a Windows machine. 2) sftp client connection FROM host TO router works fine. 2) issuing 'sftp' did not cause any packets to be transmitted by the router. I ran a packet-sniffer on the link between 192.168.22.3 & 192.168.22.1. 3) the /usr/bin/ssh directory is empty # ls -ld ssh drwxr-xr-x 2 root root 40 Dec 20 21:54 ssh # lrpkg -l Name Version Description ===============-==============-========================================= ===== initrd V1.2 LEAF Bering initial filesystem root V1.2 Core LEAF Bering package etc V1.2 LEAF Bering /etc files local V1.2 LEAF Bering local package modules V1.2 Define & contain your LEAF Bering modules iptables 1.2.8 IP packet filter administration tools for 2.4. pump 0.8.14-2 DHCP/BOOTP client from Redhat shorwall 1.4.2 Shoreline Firewall (Shorewall) ulogd 1.0 The Netfilter Userspace Logging Daemon dnscache 1.05a A fast & secure proxy DNS server weblet 1.2.0 LEAF status via a small web server dhcpd 2.0pl5 DHCP server for automatic IP assignment libz 1.1.4 zlib compression library. Needed for openssh sshd 3.7.1p2 compil OpenSSH sshd daemon. sftp 3.7.1p2 compil OpenSSH sftp client & server programs. # ps PID Uid VmSize Stat Command 1 root 764 S init [2] 2 root S [keventd] 3 root S [ksoftirqd_CPU0] 4 root S [kswapd] 5 root S [bdflush] 6 root S [kupdated] 3127 root 816 S /sbin/syslogd -m 240 19671 root 836 S /sbin/klogd 5769 root 1744 S /usr/sbin/sshd 24789 root 720 S /usr/sbin/watchdog 23329 root 776 S /usr/sbin/inetd 15315 root 860 S /usr/sbin/ulogd -d 7766 root 964 S /usr/sbin/dhcpd eth1 695 dnscache 2044 S [dnscache] 19773 root 812 S /usr/sbin/cron 11612 root 848 S -sh 9987 root 952 S /sbin/getty 38400 tty2 8480 root 4440 S sshd: [EMAIL PROTECTED] 22634 root 848 S -sh 32196 root 4364 S sshd: [EMAIL PROTECTED] 13989 root 840 S -sh 19070 root 936 R ps ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html