Software :: The #ssh_config And #sshd_config Files?
Jan 29, 2011
Using the Mandriva 2010.2 distro.While using RkHunter I have inadvertently deleted the following 2 files from #/etc/ssh/these are the #ssh_config and #sshd_config files.Have tried to re-install RkHunter to see if I can get
those files back, unfortunately to no avail.Could anyone tell me the correct procedure to re-install
View 2 Replies
ADVERTISEMENT
Feb 19, 2011
difference between ssh_config and sshd_config file?
View 6 Replies
View Related
Jan 7, 2010
Im trying to control my works server from home (due to the snow) and need to edit part of my monte carlo code so need Xforwarding turned on, have tried to edit /ect/ssh/ssh_config to this effect but Im being told I do not have the permission to save the editted file... I am the only user on the computer and this is a pretty much fresh copy of Ubuntu (using 9.04 instead of 9.10 due to networking issues on my laptop, didnt want to risk it on my desktop)
View 6 Replies
View Related
Feb 3, 2010
I would like to have a permanent ssh forwarding of the form ssh -f -N -L9112:localhost:9102 example.org
'man ssh' says that this can be specified in the /etc/ssh/ssh_config file. I tried this:
Code:
Host example.org
#LocalForward [bind_address:]port host:hostport
LocalForward 9112 example.org:9102
I did expect that with 'service sshd restart' the forwarding will be set up. But it does not. 'man ssh_config' doesn't give examples, so I am not sure what is wrong.
View 9 Replies
View Related
Jul 4, 2011
I have problem with the config file for clients which is ssh_config or ~/.ssh/config
every config that i write in them not working fore example when I change the escape character to ! its not working or any other config I checked with another system that has the same OS ((debian 6)) but the problem was there too
Do I missing something here that cause this? like enabling client configuration ?
View 2 Replies
View Related
Jun 4, 2010
I've got 10.04 on a headless server on a home network. I've edited /etc/ssh ssh_config and changed line 39 from:
# Port 22
to:
Port 30000
I then
user@server$: sudo /etc/init.d/ssh reload
from the host
user@desktop$: ssh servername -p 30000
ssh: connect to host servername port 30000: Connection refused
What am I doing wrong? I've also tried completely restarting the computer.
View 2 Replies
View Related
Apr 6, 2010
Install openssh so that I can access my desktop (192.168.1.100) from my laptop (192.168.1.200) using konqueror with "fish".Googled and read that the sshd_config should be updated to enhance security.Tried fiddling with sshd_config on the desktop and hit a brick wall.Before setting ListenAddress 192.168.1.200 in sshd_config, the laptop can access the desktop with problem.However, after setting it, the laptop is not able to access the desktop.
View 4 Replies
View Related
May 24, 2010
I know how to set up sshd_config for shared key only access. Is it possible however, to set up shared key only access for specific users. Example Users ABCD I want them to only be able to login with shared keys Users EFGH I want them to be able to use a shared key, or if that key gets lost, corrupted or whatever, EFGH can still use a password, keyboard-interactive. How would I go about doing that?
View 3 Replies
View Related
May 4, 2011
I'm using ssh to connect to a Ubuntu machine from a Windows machine. I am only using key-based ssh logins and not using passwords. (I followed this tutorial: [URL] My question is in my sshd_config file, should I set UsePAM to Yes or No? Security-wise, does it make a difference one way or the other, or can I just leave it set to "yes" (the default setting)?
View 1 Replies
View Related
Apr 5, 2010
i am trying to make my SSH-server more secure on my unbuntu server. And i want to do a little modifiing to the /etc/ssh/sshd_config folder. When i try to accsess it is says permission denied if i do sudo /etc/ssh/sshd_config it says command not found.
View 3 Replies
View Related
May 9, 2011
What is going on here? I can't access /etc/sshd_config to read or edit it, even as root. (Using debian-live 6.01)
root@debian:/etc# ls -l /etc/ssh*
total 132
-rw-r--r-- 1 root root 125749 2010-02-28 01:37 moduli
-rw-r--r-- 1 root root 1616 2010-02-28 01:37 ssh_config
-rw-r--r-- 1 root root 2453 2010-03-13 17:32 sshd_config
[Code]...
I also checked the permissions for the parent file /etc, and root has rwx. Is this something peculiar to the overlay file system used in debian-live, or just another unix gotcha?
View 7 Replies
View Related
May 5, 2011
I wanted to add a user to have permission to login to our webserver. Foolishly I did not back this file up. The only thing I changed was the last part of the file which was:
# override default of no subsystems
AllowUsers chris acosentino
Subsystem sftp /usr/libexec/openssh/sftp-server
to
# override default of no subsystems
AllowUsers acosentino techmaster
Subsystem sftp /usr/libexec/openssh/sftp-server
Now I'm still connected with that terminal, but any other attempt to get into the webserver from either a new terminal or from winscp results in:ssh_exchange_identification:Connection closed by remote host.If I lose connection to this last terminal I guess I'll be screwed.
View 2 Replies
View Related
Jan 27, 2010
I have a WRTG54S Linksys router and Fedora 11 on my Asus EeePC and I would like to be able to access my Fedora remotely via ssh however I'm not sure which info and were do I need to change it in my router, also I want to be able to change the ssh port access is it from /etc/sshd_config ? My internet connection at home is via cable modem and with a connection that is always on. (no dialer)
View 2 Replies
View Related
Nov 11, 2010
How to configure openssh, /etc/sshd_config on a new installation of Fedora Core 14? [since tt does not work right out of the box, I cannot ssh into it]
View 2 Replies
View Related
Jun 10, 2011
I get a SD card. Put in the SD reader. It's empty. I go to my super-important-pictures-to-a-monthly-relatory folder and select all files. Select them for MOVE. Paste them on the SD card. When the move/paste process is finished, i click on the "Eject" button on top of the SD card name. Card's ejected. I can't access the card anymore. I take out the card and put on my other computer. From 300 pictures, there are only 10 available, the remaining ones are there, but with 0bytes and unrecoveable. I panic. I go back to my main computer, my pictures are not there anymore. The pictures were on the Home folder. I panic again. I reset the computer and boot on the LiveCD. I install foremost, scalpel, photorec and about everything till my USB drive complains about being filled up. I run everything and I can't recover my files. I'm in the danger of getting fired. Things like that makes Windows sounds more appealing. When you securely remove a pendrive, things get REALLY pasted there before screwing everything up with a removal.
View 8 Replies
View Related
Oct 5, 2010
I know I can do find . -type f, but that includes binary file and I couldn't find a way to exclude them with find
View 4 Replies
View Related
Jan 30, 2011
I have installed this program ok but I am new to command lines in terminal.
I want to convert some wav files to wma files. I have the wav files currently in a folder called Test to make it easy. So I have entered the following command line:
ajpearson@ajpearson-laptop:~/Desktop/pacpl-4.0.5$ pacpl --to wma home/ajpearson/Desktop/Test and the error message I get is:
error: the following is not a file or directory: home/ajpearson/Desktop/Test
It does not matter what directory I use I get the same error. I am sure the answer is obvious - but not t me.
View 9 Replies
View Related
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
May 23, 2011
Is there a cc cleaner equivalent for linux to clear out tmp, internet files, etc.?
View 9 Replies
View Related
Jun 16, 2011
I am using the diff command with the -r option, to compare a large number of files and files in subdirectories. My main interest is to find out which files have been changed, and not what the actual changes are, and since a lot of files has been changed, it would be a lot easier to view the file names only. Is there and option for diff that might do this, or does there exist a similar tool/command that could do the job?
View 1 Replies
View Related
Aug 25, 2009
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies
View Related
May 7, 2011
1. Every Sunday2. Find all files older than 1 day3. Gzip these file4. Tar up the gzipped files into one tar file.5. Name the tarball with a date stamp indicating what day it was created, so we know that week's files are in the file
View 3 Replies
View Related
Jan 12, 2011
I have bought an external usb hard drive on which I back up my three computers every once in a while.Space will quickly be used up.I can't find that little bit of research that I need yesterday.Here is what I would like to find:An application that eliminates doubles in identical files and renames files that have changed by appending the last saved date yyyymmdd to the file name.Does such an application already exist?
View 6 Replies
View Related
May 7, 2009
Until now i haven't had to dabble with bash scripts.
I have a program that reads in data files. These are named datafile01_R, datafile01_G, datafile01_B, they then increment, so datafile02_R etc i have about 600 of these. the program reads in 3 data sets at a time from each run, so files_01 r, g, and b.
The program then does its magic, and outputs about 40 different files, depending on the file, they gone to folders named R, G, B, psa, or tracking.
The program itself has configuration files to say where the files should gone when analyzed, there is also the config files that reads in the data sets.
At the moment i have to run one set of data, then go in and manually change the input file location, and run again. But, doing this, even though a different data set, the new set overwrites the old set in one of the output folders. So i need a way to increment the output filenames after they are written and before the program is run again with the new data set.
View 1 Replies
View Related
Feb 14, 2010
I've discovered that Dolphin seems to lose random files when copying many large folders.
I first noticed this a few months ago when I tried to copy my music library from one folder to another on the same HDD. It consisted of around 600 folders and 6500 files. During the copy there were no errors but after the copy I found that some of the newly copied folders were missing files. I put it down to human error or a glitch.
Yesterday I tried to copy 13 folders containing rips of some of my DVDs. Each folder basically had one film of either 700MB or 1.4GB. Again no errors showed up during the copy but I found 3 of the newly copied folders were empty.
It's not so critical with music or films but I can't afford to lose work data like this.
Has anyone experienced or seen a similar problem with Dolphin? I'm going to have to do some more extensive testing but this is not good.
The first time I noticed the problem I was running KDE4.3.4 (I think) and now the latest was with KDE4.4.0.
View 9 Replies
View Related
Jan 2, 2010
the VBO file that i want to burn into a dvd is around 7.9 gb. i want to know if it's possible to split them in order to burn the files into two diferent dvds.
View 5 Replies
View Related
Mar 7, 2011
I changed to wubi last night, i decided to go that way cause i was informed it was a safe way to try giving it a try for linux and ubuntu without any special effort needed to be payed and easily deleted if i am not pleased.Thankfully i am pretty satisfied with the results, i pretty much dealt with most of the issues i have faced so far successfully and i am running it ok beside one important thing.See i am using my laptop, which has a hdd of 250GB.On my Vista there are 2 different hdd C+E by default, they separated my hdd.So while i have windows on C and E is pretty much used for my additional data(see movies, music etc) when i installed wubi i installed it on E, thought it would be better and it had more space.
Now though, while i can access threw ubuntu all my files that were located on C(vista) i cant access any of the E ones, and search file dont helps either.The "vista hdd" as ubuntu describes it, its a 250 gb disk on computer, which means it should contain both of the vista disks.But sadly thats not the case.i cant seem to be able to find them anywhere.
View 1 Replies
View Related
Apr 29, 2011
What would be a nice, simple command to go through all files in a directory (no sub-directories), and change all the MP4 Video files I have to MP3 audio files (keeping the original filenames except for changing the "mp4" extension to "mp3")?
The files in question were videos taken with one of those Flip cameras, but I only need the audio off of it.
View 3 Replies
View Related
Jul 20, 2011
I have noticed that the files and folders search in Unity, only shows up those files which have been amended (or possibly just opened) since the install.
i was wondering if there was a way i could have the search index (or something vaguely equivalent) all the files on my machine. This is especially important given that i reinstall the OS every six months on a new distribution cycle, copying all my old files across.
Without being able to see my old files the search is pretty much reduced to a recent history search.
View 3 Replies
View Related
Oct 11, 2010
I found this command that works great finding and replacing a simple string to another in files located in that folder and all sub-folders.
Code: find . -name '*.php' | xargs perl -pi -e 's/OldText/NewText/g'
The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.
View 1 Replies
View Related