Ubuntu Servers :: SFTP Fails But Ssh Connects / Resolve This?
Sep 1, 2011
I've searched the interwebs and have never had this problem before but I can connect with ssh no problem. The problem arises when I try to connect with sftp. I get code...
View 1 Replies
ADVERTISEMENT
Apr 13, 2011
i have a vsftpd server running well but i want to make/force all users to use sftp and not just ftp is this possible?
View 1 Replies
View Related
Apr 23, 2010
The computer connects wirelessly to a router. The router is connected to the internet and that is working well. (If i use a cable connection to the router, I can reach the internet).
Why wont the wireless connection reach the Internet? It is a strong connection. It worked before wirelessly. I am on 10.04 beta, with the recent updates installed.
View 1 Replies
View Related
Jun 29, 2009
I have a problem with sftp login to a Ubuntu server. sftp works for root, but not for other users.
ssh works as usual and for all users. code...
View 8 Replies
View Related
May 24, 2010
I have a Compaq Presario CQ42-195TX laptop with Ubuntu 10.04 (64-bit) installed on it and fully updated. It has a Realtek RTL8191SE wireless chipset which I am having trouble with - its wired connection is working perfectly.After starting up, I am able to see and connect to wireless networks. Once connected, the wireless functions correctly for a very brief period (under 10 seconds) in which I am able to access the Internet and so forth. The connection then stops working - although it doesn't get disconnected. When I say it "stops working", I mean I can no longer access the Internet and trying to ping the router gives me a "Destination Host Unreachable" error. If I disconnect from the network I cannot reconnect, nor can I connect to any other network.- though I can still see the list of available networks.
I thought that maybe this was a 64-bit issue, but I tried the Ubuntu 10.04 32-bit live CD and experienced the same problem.Please note that while this thread is about the RTL8191SE chipset, the RTL819xSE chipsets all use the same driver.Below are the results of various commands while connected to the network but after the connection has stopped functioning correctly:lspci -nn | grep "Realtek"
Code:
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:8171] (rev 10)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast
[code]....
View 9 Replies
View Related
Jul 18, 2010
I've configured an openvpn server on a wrt54g using dd-wrt firmware. I can connect from the command line...at least it appears to connect, but I am unable to access any resources. Trying to use networkmanager's openvpn client fails every time. Everything I find googling relates to Ubuntu, so just for kicks I booted into my Ubuntu partition for the first time in months....and the wireless lan disappeared when I restarted network manager, which is why I don't use Ubuntu in the first place, so much for the "easier distros". I'm assuming there are people successfully connecting to openvpn servers from Slack. I could definitely use a pointer.
View 4 Replies
View Related
May 10, 2010
I am trying to connect to a windows 2000 VPN server at work, with my current settings in DOES connect to the VPN and i can ping the domain server which is 10.1.1.2 but the first issue is i cannot ping the other computers on the network(via hostnames) can't remember the ip address of the other machines . second issue is when the connection is established and i RDP into 10.1.1.2 ok great i am connected to the server but any interaction in the RDP session even moving the mouse on the screen kills the session and the VPN connection fails.
Running Ubuntu 10.04 LTS 64Bit
Image of current settings in network manager:
Syslog:
Code:
May 11 12:08:04 oliver-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
May 11 12:08:04 oliver-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started
[Code].....
View 1 Replies
View Related
May 26, 2011
I am attempting to set up an automatic transfer via sftp using public key authentication. I have created a public/private key pair to connect to the remote server without using a password. I have also been able to use this key pair to login from the command line: sftp -vvv -oPort=<server-side port> user@server.Debug info from interactive command:
Code:
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
[code]...
View 1 Replies
View Related
Mar 8, 2011
All of a sudden, I could not connect to my ubuntu 10.10 server from Windows 7 using vnc this morning. When I open vnc on windows 7 and hit connect, it goes away like its going to connect but never pops up the screen. If I try to connect to my other ubuntu server, it connects quick and I'm able to navigate in it.
View 5 Replies
View Related
Mar 22, 2011
I have a little home server with Ubuntu 10.10, actually it is already backing up my web hosting daily via a cron.daily script.. But I would like to do the same with my Windows laptop, which would it be the best way to do so?
since the Ubuntu pc is (almost) always turned on it would be no profit to have it mount the Win PC at startup, indeed I could have a cron.hourly script to check if the Laptop is connected to the network and to back it up once a day, thus by checking a small text file with written the date of the last backup BTW how do I check if the Win PC is connected to the network? How do I mount it via samba? Do you suggest to backup stuff simply moving files, via tar (as I already do with my web host) or with rsync?
View 2 Replies
View Related
Sep 23, 2010
I've recenelty setup a backup server using Ubuntu server 10.4 x64.
I'm currently attempting to get the server to connect to windows vista and windows 7 shares on the network.
When running the command
Code:
smbclient \\hazard-pc\test
a prompt for a password appears, I enter nothing and am then presented with. I am not using passwords on the windows shares.
Code:
smb: >
If I attempt to list the directory using ls then I get the following error:
Code:
smb: > ls
NT_STATUS_ACCESS_DENIED listing *
57138 blocks of size 1048576. 32044 blocks available
smb: >
I've looked on google and on here and have not been able to find anything that works. I also don't have any xp machines to test with either.
I discovered this issue whilst trying to configure the backuppc service using smb.
View 1 Replies
View Related
Jul 28, 2010
I have a laptop with Windows 7 and Ubuntu installed in seperate partitions. When I boot up the computer I get options to boot either in windows 7 or Ubuntu. Yesterday I updated Ubuntu to 10.4 version. I have been having issues with grub rescue, which was rectified an hour ago. Now I can boot up into windows 7, but when I try to boot into Ubuntu, I get a GRUB screen as below code...
View 1 Replies
View Related
Jul 24, 2010
I'm having a strange issue with Filezilla that doesn't affect any other apps.I know my network isnt IPv6 friendly, so I've disabled it in Firefox and in Ubuntu - everything bar Filezilla finds and resolves addresses properly. Filezilla just gives me the responses below, trying to connect to 1.0.0.0:21 for any domain I try to FTP to. If I then go to terminal and do an ftp ftp.asdad.com etc, once terminal has resolved the domain, filezilla works - very odd. how I can stop having to do this step in terminal?
Status: Resolving address of ftp.xxxx
Status: Connecting to 1.0.0.0:21...
Error: Connection timed out
Error: Could not connect to server
Status: Waiting to retry...
Status: Delaying connection for 1 second due to previously failed connection attempt...
Status: Delaying connection for 1 second due to previously failed connection attempt...
Status: Resolving address of ftp.xxxxx
Status: Connecting to 1.0.0.0:21...
View 2 Replies
View Related
Jan 27, 2011
After clicking to install notified updates, I receive the following message...code...
View 9 Replies
View Related
Apr 19, 2010
I followed the following two articles to create a bootable USB key that will run the Kaspersky Rescue Disk, but both methods fail, using two different USB keys:
UNetbootin - Create Bootable Live USB Disks For A Variety Of Linux Distributions From Windows Or Linux : "Determining root device: Could not find the root block device in ."
Creating Bootable Kaspersky Rescue USB Disk : "Could not find kernel image linux"
Kaspersky only provides support for when trying to boot from a CD. Does someone know what I could try to get this to work as shown in the articles?
View 4 Replies
View Related
Aug 13, 2010
I'm wanting to setup SFTP in a chroot, which is simply enough to do and I already have it working; however I also want it so that when they connect via SFTP it goes directly to their home directory. Currently I have the following in "/etc/ssh/sshd_config":
Code:
Subsystem sftp internal-sftp
Match Group sftp-users
ChrootDirectory /home
AllowTCPForwarding no
ForceCommand internal-sftp
Which works perfectly fine, however when they connect there are shown the contents of the "/home" directory which they then have to "cd username" to get to their home directory. This I do not like, and it confuses our clients who connect saying they can see "random folders that aren't mine", or some that think they've "hacked" the server. I really need it so upon connection they go to "username" directory. I can do this by using:
Code:
usermod -d /username username
Which changes the users home directory to "/username", and then upon connection it works just fine, they are taken directory to their home directory. However, I really really do not like the fact that "/etc/passwd" shows a different home directory to their real home directory, i.e it states "/username" when actually it is "/home/username".I've spent the entire day looking a different ways of doing it, and I can't come up with anything.
View 3 Replies
View Related
Oct 27, 2010
I have recently configured sshd_config to have chrooted SFTP service. I'm using SFTP internal-sftp config. However now I have to figure out how to log file transfers happening using the SFTP service. I'm using the Ubuntu Server 10.04 (64bit)
View 3 Replies
View Related
Nov 14, 2010
I have a openSSH server, it works to connect to it within the local network but I can't connect to it from the Internet. What I would like to do is to connect to the server using filezilla client, simply by using username and password.To make it secure from brute force attacks will I only allow connections from specific IP number.
I have a server with the static internal ip 192.168.1.5, port is 2222. My global ip is 10.4.5.6 and I would like to connect with filezilla client from ip 11.1.2.3. How do I connect?
View 1 Replies
View Related
Feb 15, 2010
make Dovecot automatically archive the servers copy of the email if/when a client connects to it using POP? I am trying to achieve the the same thing as Gmail's feature.
View 1 Replies
View Related
Apr 8, 2010
In Nautilus I have a sftp:// mount as favorite, how can I see where it is mounted ?
View 5 Replies
View Related
Nov 18, 2010
I want to connect to the same machine that that I have OpenSSH server on which uses keys and I have disabled password-based logins (for ssh). Apparently, this also affects SFTP which makes sense. How do I setup SFTP to use key-based authentication?
View 5 Replies
View Related
Mar 20, 2011
i want to allow some friends to ssh/sftp/scp into my system but i only want them to have access to my external hard drive (/media/externalHD/), and i dont want them to be able to delete or add anything, only download.i have found instructions on how to limit a user to his/her home directory and thought about just creating a user with the home directory /media/externalHD but idk if this will work and im afraid i might make a mistake and delete 800gb of 'files'
View 2 Replies
View Related
Mar 17, 2009
i'm on 9, x86_64, and have successfully created chrooted SFTp users following this [URL] tutorial. however, i need to get into the sftp account programmatically to move and delete the deposited files. so i enabled ACL and set setfacl -R -m u:$USER:rwx,d:u:$USER:rwx /home/$SFTPUSER
this works well EXCEPT that now the sftp user cannot log in. the latter, of course, is the problem at hand! it's driving me crazy. as soon as i remove the acl and revert back to the plain old chmod/chown scheme, the sftp user can log in ... but i can't delete files in the sftp account. i tried to set facl to the sftp group ('jailed') but to no avail.
View 1 Replies
View Related
Dec 5, 2010
Did a new install of F14 on a T61 Thinkpad w/ Motorola DSL router (ATT supplied). The install was smooth and had no indications of problems.
When I went to use the browser, it showed a functional Fedora website. But if I try to go to goggle or any other web address, the browser complains that it can't resolve the web address.?
View 2 Replies
View Related
Feb 1, 2010
I have this strange problem which I am unable to web search on and not sure what to do next. My Linux knowledge is between basic to intermediate but I know how to troubleshoot general hardware problems.
My problem is that Ubuntu 9.04 Jaunty 64-bit hangs while SFTP is active and dynamic IP changes. For example, I SFTP into my home server and transfer file then suddenly my ISP decides to renew my IP and give me a new IP while my SFTP client is still uploading files to my home server. This causes my SFTP client to stop working. Upon checking, my router is still running with a new IP lease from my ISP. My Linux box still powers on but typing anything from the keyboard does not make it "wake up" and put things on the monitor. Nothing seems to make it respond and the only way is to get about it is to power off and on. During that time, you cannot SSH into the server as there is no respond. SFTP into the server is not possible too because connection fails.
The server has all new hardware, latest BIOS, etc. Memtest86 shows no errors after running for more then 5 hours. I am unable to find anything out of the norm in /var/log/kern.log or in dmesg. All hardware seems to be working.
When I think about it, I tend to think OpenSSH (probably that is the default package in Jaunty) is causing this system hang whenever there is an interrupted connection from the outside world. However, I fail to agree with this is because I am sure the daemon and Linux can tolerate this situation without resorting to system hang. FYI, I have installed vsftp as well but this should not be a problem.
View 2 Replies
View Related
Feb 15, 2010
I run some IT systems for my schools Engineering student organization.
We are upgrading our systems and I just purchased a new server system which I am configuring.
I am using Ubuntu 10.04 Lucid Lynx and the new likewise-open packages.
The points I bring up following this sentence are to fulfill this final goal : Get SFTP, SSH, and Network Share's over our private network all using the schools Active Directory for auth and it's groups to derive privs.
So... Here's what i've done and what i've tried to do.
1 ) I set up likewise-open and got it to join the domain. When I do this I can ssh to localhost as 'schoolnetworkADname'. So that part works (hurray). To get a network share to use these same auth methods I have tried installing likewise-open-server. Everything launches find and the daemons run, but when I go into computer management on a windows server to set up the actual shares, I get permission denied. The account it is giving permission denied to is the same AD account that join likewise-open to the network, so... what is going on.
2 ) Samba, fail. I can't seem to get samba to run on this machine at all, which is strange because even my Samba expert was puzzled. It just won't let Samba join the domain properly, and due to this, I want to keep on the newer likewise package... unless I have to switch to this.
How I can get the lame likewise-open-server to work?
View 1 Replies
View Related
Mar 3, 2010
I need to set up ssh/sftp/network shares all authenticating with AD. I want to use likewise to do the auth, but to mount the network shares I need to use an older version of samba so it can connect with likewise.How can I go about installing an older version of samba onto this new distro of the OS? I've tried installing the lenny and etch versions but I always get an error during install just saying that samba errored.
View 4 Replies
View Related
Jun 6, 2010
I am currently running Ubuntu Server 9.10 as an FTP server. It has become a necessity to allow users access via SSH terminal or sftp via WinSCP. I need to be able to monitor what users are doing at any given time and be able to pull up each users activity history. Essentially I need to be able to pinpoint who modified a file at what time. Also what is the best method to monitor things like nmap probes?
View 1 Replies
View Related
Jul 6, 2011
I'm new around here and pretty new to ubuntu and linux in general. I am setting Up an sftp server. I set it up using openssh and it worked fine for a few months. Then recently we experienced a power outage. Now the server will boot fine, all users can login locally, but when they try to login remotely they enter their user info and then are denied with some generic network error. Again, being a noob at this I tried to trouble shoot this a little bit but I'm not quite sure what to look for. I believe the ssh service is running but I don't know what else to look for.
View 9 Replies
View Related
Jul 21, 2011
I'm trying to get ChrootDirectory working with SFTP. I understand the chroot directory is not writable by the user, so I have to create a sub-directory the user is supposed to write to. I keeping getting write permission denied when uploading a file to this sub directory? how to troubleshoot this or know what i'm doing wrong? Here's how I have it setup.
Fedora 15, OpenSSH 5.6p1
/etc/ssh/sshd_config looks like this
Code:
Subsystem sftp internal-sftp
Match Group sftp
ChrootDirectory %h
[code]...
I created the sftp group and created a test user.
Code:
groupadd sftp
useradd -g sftp -s /bin/false -d /home/test test
Then gave root access to the test user's home directory so chroot will work.
Code:
chown root:root /home/test
chmod 755 /home/test
Since the user's home directory is the chroot directory, the user will not have write access to it. So I created a sub-directory that the user will have write access to.
Code:
mkdir /home/test/data
chown test:test /home/test/data
chmod 755 /home/test/data
I can successfully sftp into the server and download files. But I cannot upload files to the data directory? I get write permission denied.
View 1 Replies
View Related