Software :: Openssh Sftp - Config File - Shows All The Hidden Files (dot)?

May 27, 2010

Where is the config file for the sftp bit? At the mo it shows all the hiddenfiles (dot) and I don't want it too. Don't laugh, I have just configured my proftp for this, and realised, hang on this isn't the program that dishs out sftp!

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Config - Change / Add From The Default OpenSSH Config Files To Get Tunnelling To Work?

Jul 10, 2011

I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:

Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.

View 3 Replies View Related

Ubuntu :: After Files Deleted Still Shows Up As Full - Shown In Hidden Trash Files

Mar 9, 2011

I have a Kingston 8gb Datatraveler that has been giving me troubles lately. For some reason after I delete files from it it still shows up as full and the files are shown in the hidden trash files. How do I get rid of these files? I can't delete them as they just show back up. Also, I tried to format the drive with gparted and it won't unmount. When I right click and select information, at the bottom it says: Unable to find mount point. Unable to read the contents of the file system. Because of this, some operations may be unavailable.

View 1 Replies View Related

OpenSUSE Install :: Hidden Files - DF Shows More Disk Usage Than DU

Oct 23, 2010

I am running an Opensuse 11.2 system as a backup file server. Several external hard drives are attached via USB and mounted during boot via the fstab file. Recently, I noticed the df command showed the root partition being >65% full, while the du command showed the same drive was only about 20% full. After much investigation, I discovered that some large directories had been created under the /media folder on the root partition that were hidden when the external drives were mounted as directories with the same names under /media. I could only see this when I rebooted with a live CD and mounted the suspect partition without the external drives mounted. Is there a way to examine whether a mounted partition has existing files "hidden" when a separate file system is mounted "on top of it"?

View 9 Replies View Related

Server :: SFTP Seems To Fail For NIS Accounts Under OpenSSH 5.x?

Jun 23, 2010

I have recently discovered the following: when I attempt to connect to any of our machines that are OpenSSH 5.x (Ubuntu 10 or OpenSuSE 11.x in our case) as one of the users defined in the NIS domain that fails. For instance, me (user bepstein) can SSH into all those machines but not SFTP.I can SFTP into those machines on the network that are OpenSSH 4.x, however (CentOS 5.3 - 5.4, OpenSUSE 10.3).As a user defined locally on the machine (in /etc/passwd ) I can connect via either SSH or SFTP even if the machine is OpenSSH 5.x.Some further discussion of that issue is available here: http:[url]....

View 2 Replies View Related

OpenSUSE Network :: OpenSSH Chroot Only Supports Internal-sftp?

Nov 16, 2009

Had my chroot jail all set up and working nicely in OpenSUSE 11.1, upgraded to OpenSUSE 11.2 and had to set:

Subsystem sftp internal-sftp
(which was:
Subsystem sftp /usr/lib64/ssh/sftp-server)
and:
ForceCommand internal-sftp

[Code]...

Of which with-pam is mandatory. I used prefix to put the binaries in a place that would not conflict with the standard distribution, this meant I also needed to change /etc/init.d/sshd so that it referenced the newly compiled version of sshd, and copy /etc/ssh/sshd_config to /opt/etc/sshd_config.

View 9 Replies View Related

Ubuntu :: OpenSSH/SFTP Change User/home Directory?

Feb 18, 2010

I'm trying to make it so that when a user logs in they are forced to stay within a certain directory structure. For some reason what I am doing is not working properly.Here are the relevant file informations:sshd_config:

Code:
Port 2238
Subsystem sftp internal-sftp

[code]...

View 4 Replies View Related

Ubuntu Networking :: Disable The Default SFTP Server In OpenSSH?

Apr 27, 2010

I have FTPS setup on my ubuntu server 9.10 machine using vsftpd, and I want to disable the default SFTP server in openSSH. I didn't even know it was on until I accidentally connected to it. I tried searching the internet, and it seems that all I should have to do is comment out the line:

Code: Subsystem sftp /usr/lib/openssh/sftp-server restart sshd and it shouldn't work anymore.....except it does. Thinking that /etc/init.d/ssh restart may not have worked, I restarted the machine, but I can still connect over sFTP.

View 5 Replies View Related

Ubuntu Servers :: SFTP Setup Using OpenSSH - Network Error?

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

OpenSUSE Network :: Samba Share Shows Many Hidden Files Like ".directory.lock.?????.test"

Aug 7, 2010

I just noticed that I find lots of hidden files named ".directory.lock.??????.test" across my samba-shared file system. The questionmarks stand here for some random alpha-numeric patterm.

- Which application might have created them?

- Is it save to delete those ?

With e.g. "find . -type f -name ".directory.lock.??????.test" -exec rm -f {} ;"

View 1 Replies View Related

Fedora :: Files Corrupts - Upload A File (using Ftp Or Sftp) Some Weir Characters Are Included Inside The File

Mar 23, 2010

I just installed Fedora12 in a Core i3 machine... everything looks fine, but I have a huge problem... every time I upload a file (using ftp or sftp) some wier characters are included inside the file... for example.

[Code]......

View 6 Replies View Related

Programming :: Zenity - Hiding Hidden Files From File Selections?

Sep 12, 2010

I'm using zenity 2.28.0 in a bash script (under kde4) to select multiple files in a directory. It works fine, but always defaults to showing hidden files. How can I get it to hide hidden files by default?

I know about toggling them on and off with Ctrl-H, but I would prefer not to have to use that. I have my options set so that dolphin and konqueror do not show hidden files by default. I even tried adding shopt -u dotglob to my script. zenity invocation (extracted from a more complex statement): zenity --title "Select Print Files to Delete" --file-selection --multiple

View 5 Replies View Related

OpenSUSE :: Setting File Filter For File Open Dialog (to Suppress Showing "hidden" Files, Etc.)?

Dec 10, 2010

On both my 32-bit laptop (openSUSE 11.3) and my 64-bit desktop (openSUSE 11.2) I have been unable to find out how to prevent seeing all the "hidden files" when opening files in many applications, including (for example) GIMP, Xournal, OpenOffice, gedit.In the Control Centre "File management" options "Show hidden and backup files" is NOT checked in "File Management Preferences.

View 2 Replies View Related

General :: Shows All Folders Like Root - Boot When Connect Sftp Server

Dec 3, 2010

I am configure one sftp server(openssh) in my linux server. Its working fine. but when i try to connect its shows all folders like root, boot. but i need particular folder only. how to do this. I am using centos5.2

View 2 Replies View Related

Ubuntu :: How To Find / Delete Unused Hidden Config Folders

Oct 12, 2010

I recently moved to a new machine, and I copied my entire home folder across. This included lots of hidden (starting with '.') folders, and in many cases they are config folders for packages which I have not installed on the new machine. They are taking up space, so I would like to delete them, but to go through manually and figure out which ones I need would be very laborious. Is there a way to find, and perhaps delete, config folders for packages that are not installed?

View 2 Replies View Related

Debian Configuration :: How To Import VPN Config Files With No File Extension

Feb 10, 2016

I've downloaded configuration files for my VPN, Kovurt, and they don't have a .ovpn file extension. Further, when I tried to enter the information manually (using this guide), I saw that the files only include the <ca> tags, and no <cert>, <key> or <tls-auth> tags.

Here is the content of one of the config files, simply named 'Tokyo' with no extension. (adding .ovpn didn't work either):

Code: Select allclient
dev tun
proto udp
remote 50.31.255.86 443
resolv-retry infinite
nobind

[Code] ....

I have an open ticket with Kovurt asking for the other info, but I know already that they don't have much in the way of documentation or support for Linux.

View 0 Replies View Related

Programming :: Bash-code To Rename Files Based On Config File

Apr 12, 2010

I'm writing a bash shell script that among various other things will traverse through a directory with hundreds of files and rename those who match a pattern found in a config file. It's expected that only about one in ten files will actually match, and those who don't, will simply just be ignored for this purpose.

This should for instance cause the file "dBase program file December 1987.prg" to be renamed "Clipper source code December 1987.prg", and conversely "C++ source August 1996.cpp" to be renamed "C source code August 1996.cpp" etc.A sample file such as "Random Data File.dat" should not be renamed here since it's not mentioned in the config file..What is the quickest, most elegant way to do this in bash?I am thinking of using bash's built-in regex matching combined with the /bin/rename utility, but don't quite know how to get started to catch this..I guess there are plenty ways of doing this in perl and elsewhere as well, but since this has to integrate into a pre-existing bash script, that's what I'm looking for.Anyone out there with a spare moment to offer a hint in the right direction?

View 14 Replies View Related

General :: Recursively Cp All Directories, Files And Hidden Files?

May 17, 2010

Ubuntu 10.04

I want to copy all directories, files, and hidden files and hidden directories with one command. I want these items to replace any same items in the target directory.

I have tried several things, such as:

cp -r *
cp -aR *

but I only seem to get visible files and directories. Obviously, I am missing something. (A brain, probably....)

View 9 Replies View Related

Server :: Pure-ftp / Openssh Failures - Transfer Files

Apr 22, 2010

I need by searching this site so I haven't had a need to sign up since I can't really help anyone as of yet. With that said here is my problem: I'm running a VPS with CentOS RHEL 5 host-in-a-box, I just did a rebuild of the server and after a day or two pure-ftpd and sshd unexpectedly close out any incoming connections. I am the only one that uses ssh and ftp so I'm not sure what the problem could be. I checked the logs and there is nothing to do with not being able to bind on the address.

I tried connecting through ssh in verbose mode and it connects to the server just fine, but drops the connection before it asks me for my key pass phrase. If I enable password access it will drop before it asks me for it's password. I've tried restarting sshd and ftpd. I've tried rebooting the machine. I've tried google, but this problem seems to need a little more specific trouble shooting. I can get in through console access, but that doesn't help me much when I need to transfer files.

View 6 Replies View Related

General :: Using A Config Directory Instead Of A Config File?

May 7, 2011

I currently can run an old swf on my Chumby 8 device by storing and using these three files on a USB plugged into the device

config
<?xml version="1.0" encoding="utf-8" ?>
- <config>

[code]...

View 1 Replies View Related

Ubuntu Servers :: Sftp On Vsftpd - Make / Force All Users To Use Sftp And Not Just Ftp

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

Ubuntu Multimedia :: Find "hidden" Mp3 Files (incomplete Files Or Just Rubbish)

Jan 26, 2010

I've got a collection of MP3 files, but sometimes I stumble across a double file in Rhythmbox. At first, I thought they were the real files, but after trying to fix the tags (artist names were incorrect or missing) in tag editor, I didn't see any change in the files in Rhythmbox.

This made me search for the album in which the files were (in Rhythmbox). I found out that these incorrectly named files were doubles, but they didn't show in the actual folder.

So, I deduced, They had to be fakes. I threw the doubles in the trash bin, and there it was. They were hidden files (with a dot in front).

How can I find all these hidden files, so I can remove them?

View 3 Replies View Related

Software :: Rename Hidden Files / Rename All Files With A Leading Decimal Point Recursivley?

Jul 25, 2011

How would I rename all files with a leading decimal point recursivley? I some how got all my music files to have a decimal point.I tried the below and got a " sed argument to long".[CODE]find /media/MUSIC -type f -name "*.wma" | xargs -0 sed -i 's/.(.*)/1/'[CODE]

Another question, can i just use -type f with out -name ? I am sure that all the files got the decimal point added as the first character.

View 14 Replies View Related

Debian :: Globbing And Hidden Files In Zsh

Mar 10, 2011

This really doesn't make sense to me:

View 9 Replies View Related

Fedora :: Processing Hidden Files

May 12, 2010

Doing "ls -a" provides a listing of the hidden files.To process all the .bak files you can do *.bak for:
that.bak
this.bak

But how do you process all the hidden files like:
.that.bak
.this.bak

What is the equivalent of *.bak for only the hidden files?

View 6 Replies View Related

General :: Delete Hidden Files I Have 2 In My PC?

Feb 10, 2011

What should do? Or how to delete that I have 2 hidden in my PC?
I know nothing that's why please tell me detail if some one know about it?

View 5 Replies View Related

General :: List Only Hidden Files?

Feb 15, 2010

how to list only hidden files in current directory ?

View 7 Replies View Related

General :: Downloading Very Large Files Via SFTP

Apr 1, 2011

I need to download some very large files (circa 75 GB) from a remote server via SFTP. I've been using SFTP via the command line on my Linux netbook. Around halfway through, the transfer stops and says "stalled." Can anybody recommend a reliable way to download these files?

View 1 Replies View Related

Networking :: Transfer Files From PC To A Sftp Server?

Dec 17, 2010

I would like to transfer files from my PC to my account at a sftp server, and I don't know how to do it.

My PC is running with:
User: User1
Address: 10.0.2.3

My sftp account is:
User: SFTPUser1
Address: sftp-server

I can access the sftp server with the command:

Code:
sftp SFTPUser1@sftp-server
The sftp server doesn't answer to ssh requests.

How can I transfer files to the sftp server?

View 7 Replies View Related

General :: Delete Selected Files From Sftp?

Apr 6, 2010

i am trying to delete multiple files from sftp with non-interactive way as per the desire ext. But i am not able to get the proper extension of the files for removing files.

lftp -u ${user},${passwd} sftp://${ip}<<EOF
cd ${path}
rm *${ext}
bye
EOF

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved