General :: Changing SSH Default Port?
Apr 20, 2010is it a bad idea to change SSH's default port (22) to a different port number
View 5 Repliesis it a bad idea to change SSH's default port (22) to a different port number
View 5 RepliesI'm trying to change the default mysql port with no success. I looked at my.cnf file and there's no reference to port. I also looked at the iptables and mysql is running on 3306 (default).I've changed the iptable file but mysql fails to restart.If I add port = [my port number] to the my.cnf file, mysql fails to start.
View 4 Replies View RelatedNow that I've set up an FTP server here at home I'm thinking that it might be a good idea to change from the default Port 21 to something else. Can I use any port I desire or are there only certain ports that support this protocol?
View 14 Replies View RelatedI want to change my MySQL default port(3306) as 80 how can i do this on centOS 5.2? I tired to add
[client]
port=80
to /etc/my.cnf and different command in this file. But mysql didn't start. How can do this? I'll use server only as mysql and ftp server.
im using CentOS 5.2 and cant change my default ssh port number. I have edited /etc/ssh/sshd_config to this
Code:
#$OpenBSD: ssh_config,v 1.21 2005/12/06 22:38:27 reyk Exp $
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
[code]....
I have then restarted ssh by typing (as root) "sbin/service sshd restart" and it restarts fine but still is on 22 and not 222.
I am attempting to modify the default umask value under all accounts on my linux system to 002. This will hopefully allow both the account and the account's group access to the created files.
I have modified it within /etc/bashrc, however it seems to be making no difference on this default value. The files I create through "File Browser" all have the access rights set to 600.
Is there any error here, as all evidence I can find on the internet points to the bashrc file.
When the computer boots in Slackware 13.1 i get the default welcome message: "Welcome to Linux 2.6.33.4-smp (tty1)". How do i change it?
View 2 Replies View RelatedI would like to change the start directory, the directory at which ftp/shell points to when the user logs in.
View 1 Replies View RelatedI would like to use HDMI on my graphic card for audio output. ALSA shows it as a card with 4 devices and I can get sound through one of them (the other three are different channels, perhaps? I have only stereo output connected). Although Pulseaudio has the right card set as default, it seems to me that it plays on a wrong device. Pacmd shows that the sink has parameter alsa.device set to the first device listed by ALSA, but I can get sound only from the second one.How can I force Pulseaudio to use another device of the same card as a default output?
View 2 Replies View RelatedHow can I change the default port of ssh that is 22? Because of security issue I just want to give some other port.
View 3 Replies View RelatedI was using ubuntu 10.04 till yesterday.. and due to hdd crash i have changed my hdd.
while looking for my installation disc, my wall-mate gives me this Ubuntu Studio dvd and instead of downloading a new one, i have installed the studio. at the first sight ... i am being a fond of studio version .. its really cool.
now, i am quite habituated with default appearance of ubuntu, i found studio appearance is quite unusual (for me, menu layouts, panel everything).
I would like to know how do i change this default appearance like ubuntu default 10.04 appearance. I am attaching a screen-shoot of my friends desktop, he upgraded his ubuntu thru apptitude update.
I want to change the application that opens my mp3 files.
At present if I double click an mp3 it opens in the movie viewer for some reason. I know I can use "open with..." to get a file to open in Rythymbox instead, but I have over 800 mp3 files and want to change the default for all of them.
I recently upgraded to Ubuntu 10.04 from earlier versions. I have a dual boot system with Windows 7. Grub was set to boot Windows by default Things were working fine. I decided to upgrade to Grub2. It seemed like a good idea at the time. Now when booting up,the name at the top of the Grub menu is 1.98, which is Grub 2. When I run grub-install -v, it comes back grub-install (GNU GRUB 0.97) which is not Grub2. Now when I boot up, Ubuntu 10.04 is the default. I have to manually choose Windows if I want to use that system. I have been unable to change the boot order following instructions from this site. Any Way changing the boot order to make Windows 7 the default. I am using a Toshiba Satellite.
View 5 Replies View RelatedThe default output audio port Ubuntu doesn't work on my system. It should be "Analog Mono Output/Amplifier", instead of "Analog Output/Amplifier". I can easily change that in sound preferences, just by choosing the right port in the "Output" tab. The problem is this would only apply to a single account, and I would like to change it system-wide, so it applies to all accounts on the system (I have more than 100 users...).
Update: I can achieve the same effect as I would by changing it in sound preferences using the following command: pacmd 'set-sink-port' 'alsa_output.pci-0000_00_1f.5.analog-stereo analog-output-mono;output-amplifier-on' Unfortunately that's still not system-wide,
i have installed CentOS along with ISPConfig. For some reason apache will not run it says there are no listening sockets avaliable. I have done a netstat and also tried nmap to see if any other service was using port 80 but it doesnt show anything. I also tried changing the port number to something like 81 still no go. On bootup of CentOS it shows the error and a message saying unable to open logs.
View 1 Replies View Relatedsetting it up to handle one of my email accounts as a start, i can get evolution to receive mail but not to send. in outlook, i have to change the smtp port from 25 to 587 for high-speed connections. otherwise the server blocks, and i feel sure that's what's causing my problem in evolution: i can't find where to change the port to 587.looking through some other posts here, it seems like it may not be possible through the evolution gui. if not, are there things i can enter from the terminal that will carry over into evolution settings? if there are (or better: if it can be done in evolution after all
View 2 Replies View RelatedI would like to change port number for a specific folder name on linux server like domain.com/folder_name:yyyy so people can access that folder with pre defined port number. is there a way that I can do that?
View 2 Replies View RelatedRight now my server is being used as a Minecraft server. I have a site hosted on it, but my ISP blocks port 80, so I'm the only one who is able to view the site. I want to be able to change the port the site is on so that anyone can view it. I've looked it up and apparently that is possible; however, I haven't found out how to do it. I've changed the ports.conf file in /etc/apache2 and the default file in /etc/apache2/sites-available, but it didn't work. All that did was take my site off of 80, but it did not put it on the new port I specified. What exactly do I have to change so that when I go to mysite:port, it loads my website?
EDIT: Also, just for extra information, the two ports I tried were 8080 and 81.
I have an Asterisk on an externally hosted vServer with Lenny. In order to further protect the SSH access I intended to change the Port number 22 to something like 55555. For this I changed the /etc/ssh/sshd_config file and restarted ssh. This caused unfortunately the following problems:
(1) The first login works but DenyHost writes now the IP in its list so that the second login with the same IP is blocked.
(2) With RESET_ON_SUCCESS = yes several logins were possible with the same IP, but later it also was blocked for some still unknown reasons.
(3) Files can be uploaded for being edited, but they can't always be saved. When they can't be saved the next login with this IP is blocked. It thus looks like the blocking can occur while being connected. When the files can't be saved it is however still possible to copy files from the computer to the vServer.
I add below the entries in the auth.log from a logout and a login. It shows further how suddenly the attempts to save files were blocked. After this session the IP used for it was blocked. I don't know where the message "Unable to open env file: /etc/default/locale" comes from. If I remember right I had these messages already before. I don't know how much that is really important.
[Code]....
My ISP Blocks port 80 so I changed the port to 8081 after I do this and restart Apache and use my IP with :8081 after I get a page saying Not Found The requested URL /index.html was not found on this server. I get this same message if I use my real IP or the IP from my router. What can be causing this?
View 2 Replies View RelatedI need to know what the Iptables "code" is to change the outgoing/Incoming IP for port 53 (DNS). I'm running CentOS on a dedicated server. I very familiar with Putty and SSH. So I don't need much details, I just can't figure this out. I asked my server providor but they deleted my ticket and didn't answer me.I tried this but am not sure if this correct of working?
View 5 Replies View RelatedI tried changing the sftpserver port but its not working, besides how can i restrict users from particular ips.Eg: users a can ssh from 192.168.*.*user b can sftp from 200.*.*
View 2 Replies View RelatedI changed the default port under etc/apache2/ports.conf and now I cannot connect to my server under my local network.
View 9 Replies View RelatedI'd like to know if there's a reliable way to change the default user in Debian: when I installed testing starting from Jessie, I used rsync to set up a duplicate stable installation and then upgraded it to testing, as a result I now have the same username for both installations, which is sometimes kinda confusing.
Reading around a bit, looks like you can indeed change your username with relative ease, but then there will be always something left behind somewhere still pointing at the old username: is that the case?
After finally installing Caliber E book Management, I realized it made itself the default App for my CBR and CBZ files (these are just renamed rar and zip files used for digital comics)
I tried right clicking and choosing -open with- Other Application and checked the "remember this application" after making Archive Manager the default; but when I click on a cbr and cbz file, caliber still start off.
What is the preferable way of changing the default application for a file type?
I have updated from Fedora 14 to Fedora 15. I have both Firefox and Chrome installed. FF used to be the default browser, but since the upgrade, each time I click on a link somewhere (help pages, documents, terminal etc.) they are opened in chrome. How do I change it back to FF?
View 5 Replies View Relatedim looking to allow virtualbox raw disk access to /dev/sdb
currently if i
ls -l /dev/sdb
brw-rw---- 1 root disk 8,2010-01-04 17:00 /dev/sdb
now if i chmod this to 777 or use chown to change the owner this temporarily works but after a few moments it defaults back to its original permissions.
is there a way i can define the permission? i was thinking fstab but i can't have a mount point?
I am using Xampp on ubuntu 10.04 and I have set my document root to a folder in my home directory for ease of use with netbeans. There are several times where I have to manually go and change the permission to 755. If you just place a file in the directory it does not default to 755, seems odd since the document root folder is in my home directory. Chmod works fine but I was wondering is their a way to make all files or folders added to my document root to default to 755?
View 2 Replies View RelatedI'll use i3-wm, just want to know how can I start it instead of gnome using startx.
By the way, where can I get detailed info on X? I am a little confused, don't really understand what startx really starts, what X is and what does it do, how to config.
How do I change the default operating system in Grub? I'm running Ubuntu and Windows 7.
View 3 Replies View Related