General :: Change The Default Port Of Ssh That Is 22?
May 26, 2010How 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 RepliesHow 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 RepliesI installed Apache2 on Redhat EL 5. I am trying to change the default port (80) to 85. I tried editing httpd.conf and changed
Listen 80
to
Listen 85
It ditn't change any thing. 'netstat -tuapn | grep :85' returns nothing.
I want to change my ssh port from the default 22 to something else. I did the following: vi /etc/ssh/sshd_config; uncommented Port 22 and changed it to the desired port number. After that I run service sshd restart for the change to take an effect. Now, when I want to login into the new port I receive this message - Network error:Unable to route to host. When I change the port back to 22, I will be able to login again.
View 6 Replies View RelatedI used pptpd in cent os 5.4I want to change the default port 1723 of pptpd to 1813I chnage the pptpd port in service file to 1813 but ppp dont worknote : in ms vpn client i change the port to 1813
View 8 Replies View RelatedVERY new to linux, erm but I have an issue that needs solving!I recently moved to university, where their network blocks sftp port 22, this means that I cannot connect to my FTP server which is running a version of linux.Now I've got this ftp server connected to a seedbox and it was created using the following walk through..Code:I have written this guide for a friend, but I though it would be useful for others as well.
There are several guides floating around, but I found that most always cock up in some way. This one is tried and tested to work on Debian Etch (on an OVH rps, but should apply to most servers).If there is a new stable release of rtorrent/libtorrent then I will update this guide to show you how to update it (without reinstalling the whole server).
At the bottom there are also instructions to install ftp access & some network monitoring software.Basically, I would really like someone to be able to construct the commands on how to change the listen port for sftp connection on linux or add another port to the list that Linux would use so that I could put in through putty.
What config file do you change to change default run level???
View 3 Replies View Relatedis it a bad idea to change SSH's default port (22) to a different port number
View 5 Replies View RelatedI'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 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 want to change ssh defualt port 22 can you suggest which port i need to use for ssh so prevent it from hackers
View 4 Replies View RelatedI am looking to set up a system that will bring in an e-mail on a port like 4082 then sent it out to a standard e-mail port. this is a fire wall issue. I am looking for the best software I can use on an Ubuntu-Desktop platform to accomplish this and an idea on how to set this up?
View 6 Replies View RelatedI edited "sshd_config" file and changed port 22 to a new port. After I restart ssh, it listens on port 22 and the new port. How can I disable SSH to listen on port 22? I'm using Debian.
View 6 Replies View RelatedI don't know what is up with our servers, but each time I upgrade Linux or switch back to Windows it seems that the default providers have changed,and as such I'm having trouble finding out how to change the default run level from 5 to 3 in Ubuntu 10.4. I had tried the /fstab file, and although the last time I made this configuration was under Suse, I'm not even sure that's how I did it for OpenSuse. I did find how to pass the text argument to the kernel but I don't want to disable GDM so that I have to renable it everytime I login. I'm unsure of how this will affect the startx command, at which point I'll be stuck sifting through books for random commands that might perform the task I would like.To elaborate, the reason I'd like to switch my default run-time level is so that I can configure an nvidia proprietary driver, which requires that the x server not be running and I could switch tty's but that doesn't shutdown the x server and although someone had given me a key combination to the effect of ctrl-alt-backspace,backspace I was advised against using it as it might cause damage to the integrity of the data used to load gdm.
View 1 Replies View RelatedI'm running Redhat 5 Enterprise (Nautilus 2.16.2) with Gnome and am having trouble changing the default application for PDFs. No matter what I do, it seems to always come up as evince.
First I tried browsing to a PDF file using Nautilus, right clicking on a PDF file, selecting properties, open with, and then changing the radio button. However, the radio button is selecting "Document Viewer" and clicking on the other buttons doesn't do anything. The button is stuck on "Document Viewer" (I'd like to use Adobe Acrobat).
I thought I'd do it manually then. Running `gnomevfs-info file.pdf" shows code...
So now xdg-mime and gnomevfs-info are showing different default applications for this file type. I've tried updating the mime database using update-mime-database ~/.local/share/mime as well as updating my desktop database using update-desktop-database ~/.local/share but nothing seems to be working.
Changing a default application really shouldn't be this difficult. What should I try next to change my default application?
, however, shows something different
My .local/share/applications/defaults.list file, however, shows the following:
application/pdf=AdobeReader.desktop
I am using Puppy Version 430.I want to change the default prompt from # to the current working directory followed by one space. I can do this by opening a console window and entering PS1="w " How do I force this to persist when I restart the computer.
View 1 Replies View RelatedI want to make my system load in GUI to login. I set Login Manager in KDE, and found in google inittab. There maybe I have to change run level from 3 to 4 (X11 with KDE), but I am not sure to change the file. I am afraid to broke my system. Do I have to change run level in inittab to boot in GUI?Other way is to make image of the partition and to try it...
View 7 Replies View RelatedHow is it possible to change the default text that is displayed on the default BASH logon (attached)?
View 1 Replies View RelatedI want to change my default terminal in Ubuntu to ZHS. What's the command to do this?
View 3 Replies View RelatedIs there any way to specify which monitor the console is displayed on in Linux?
Details: I have a 3 monitor setup with 2 video cards. When I boot the computer, the BIOS displays on the PCI graphics card (which has a small monitor). When starting Linux, the console is displayed on the same monitor. Is there a way to have the console output on a different monitor? I'm using the vesafb framebuffer.
I don't see a way in my BIOS to change the default video card.
How can I change the default text editor for console programs in Ubuntu.When I run mutt and send a message, it currently loads up Joe and I would prefet to load Vim.I know I can change $EDITOR for me only, but would prefe to do it system wide.
View 2 Replies View RelatedHow can I change default boot order in Ubuntu 10.04 from Ubuntu to Windows7? However, I already checked sudo gedit /etc/default/grub and modify the grub file to be GRUB_DEFAULT=4 and update the grup sudo update-grub I even install graph software to re order the book sudo startupmanager But still after restart the default choose for boot is Ubuntu ...
P.S: I am using Ubuntu 10.04 with grub version 1.98
anyone knows how to change the default width for shell window in Linux(Ubuntu), so that I don't have to re-size it every time I open it up?
View 2 Replies View RelatedIn my laptop, if I type below
$ which vi
alias vi='vim'
/usr/bin/vim
Now I want to change the vi alias to another bin, e.g. vim_wrapper a script created in /usr/bin/, I type this line:
alias vi="vim_wrapper"
in ~/.bashrc or /etc/bashrc, but take no effects. So How to change the default vi alias vi='vim' to vi='vim_wrapper'?
I would like to run Windows (XP preferred) games and Linux on my MacBook Pro I got from school. However, there are some rules I have to follow. If I need to I will try to further clarify the rules, since they are in Swedish and there isn't a perfect translation. I cannot use Boot Camp. This is because Windows machines get viruses 24/7 and there are no viruses on Mac. Furthermore, we are using Visual Studio for about half the things we do through a virtual machine. Perfect for debugging, performance and "virtual machines don't get viruses", right? At least that's what my teachers think. I cannot change the default setup of the computer. In Swedish this basically tells me I cannot even start it up because then I will mount the drive, and make changes in RAM, and use the processor, and move electrodes from the battery and so on. They're telling me that that's way to specific, though, and that we aren't allowed to change the operating system files. I think we break that rule with each update, install or setting we ever touch. I may not use any program without first showing a receipt. The original casing, CD and the CD key isn't enough. A license like GNU is ok, though.
I basically need a way to boot into a USB drive or CD, with the ability to use network and DX9 to play games on Windows. Linux support isn't as crucial since OS X does have a lot of Linux support already. I've tried other ways of working around the rules like running games in Wine but I can't get DX9 based games to work and the FPS is terrible. They have the right to check the computer at any time to see if there is something bad there. Swapping a harddrive will definately be noticed.
I''m new to Debian 5 so please be gentle
When I use 'adduser' it states 'Enter the new password (minimum of 5, maximum of 8 characters)' - how can I enforce password complexity?
I would like to have a minimum of 10 characters and also have numbers, certain special characters etc.
I have looked almost everywhere for how to change my default shell prompt. When I open my bash shell, the prompt is [fedora-dev@Fedora-Dev Documents]$. I would like it to open at fedora-dev@Fedora-Dev]$.
Can someone tell me where to change this at. I have looked in .bashrc, etc/profile, and environmental variables.
I have a dual booting set up with Ubuntu as default O/S and Windows 7. wish to have Windows 7 as my default O/S. I tried by clicking Alt+F2 and entering 'Sudo gedit/boot/grub/menu.lst' but nothing happens.
View 8 Replies View Relatedi want to know where does yum installs the software that i install with it ? is there any way to change the default location for yum Downloads ?
View 1 Replies View RelatedI installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?
View 1 Replies View RelatedI work in a shared computing environment and the default setting is r-x for group and others; it's upto the users to change this. I can chmod and change the permissions for all the files. However any new files created all have the default permissions. Is there anyway to change that so that I don't have to chmod everytime or run chmod as a cronjob?
View 1 Replies View Related