[CentOS] Running SSH on a different port
HI All, With my new firewall in place, it has opened my eyes to how much traffic gets blocked in a single day and also what are the most active rules. I get *a lot* of requests for port 22. How does one switch ssh ports? What is a good port to use? What ramifications does it have when I need to ssh in? Is it as simple as ssh u...@hots:port? Best, -ML ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Turning off X-Windows
Hi All, How does one best turn of X-Windows? I dont need it, ssh works just fine for me. I seem to recall it was complicated and since I know enough to do my stuf and not well versed yet in fixing things I break, I dont want to blow this up. Best, -ML ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
On Sat, 2009-10-24 at 05:56 -0700, ML wrote: > HI All, > > With my new firewall in place, it has opened my eyes to how much > traffic gets blocked in a single day and also what are the most active > rules. I get *a lot* of requests for port 22. > > How does one switch ssh ports? What is a good port to use? What > ramifications does it have when I need to ssh in? Is it as simple as > ssh u...@hots:port? I suppose it's easier to ask a list than to actually look at man pages. man sshd_config man ssh if there's something you don't understand after reading the man pages and trying things out for yourself, the list will be more useful to you. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
> How does one switch ssh ports? What is a good port to use? What > ramifications does it have when I need to ssh in? Is it as simple as > ssh u...@hots:port? > In /etc/ssh/sshd_config replace "port 22" with "port 1024) you like>" Then configure your ssh clients accordingly. I was having my logs filled with *literally* hundreds of connection attempts to port 22 every single day. Since I moved ssh to another port that stopped. Also, disable password authentication and use public/private key pairs as certification. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.4 DVD
David Suhendrik wrote: > Still waiting for DVD 5.4 64 bit > Have you been looking, or just expecting a DVD to show up in your mailbox?? Go to the CentOS homepage, http://www.centos.org/ . At the top of the page you'll see CentOS Download Information. Click on "CentOS-5 ISOs", then on "x86_64". Many of the mirrors listed have CentOS-5.4-x86_64-bin-DVD.iso available for direct download. All of them have CentOS-5.4-x86_64-bin-DVD.torrent available. Bittorrent is the preferred download method. Right now the torrent has more seeds (398) than downloaders (218), so you'll likely saturate your download bandwidth right away. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Turning off X-Windows
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 thus ML spake: > Hi All, > > How does one best turn of X-Windows? I dont need it, ssh works just > fine for me. > > I seem to recall it was complicated and since I know enough to do my > stuf and not well versed yet in fixing things I break, I dont want to > blow this up. Just edit /etc/inittab and choose the appropriate runlevel: (...) # Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:5:initdefault: ^ Change this vaulue to '2' or '3' (see decriptions above). (...) > Best, > -ML HTH, Timo -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org/ iD8DBQFK4vzVO/2mgkVVV7kRArL/AKDDixr+pULH2+P3gi7bpDh0Igg6JQCgmmLX tuDB0Z/CDLjg1eSAbKTPusw= =fYi3 -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Turning off X-Windows
> How does one best turn of X-Windows? I dont need it, ssh works just > fine for me. > Just boot the computer into runlevel 3. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
On 24/10/2009, at 11:26 PM, ML wrote: > HI All, > > With my new firewall in place, it has opened my eyes to how much > traffic gets blocked in a single day and also what are the most active > rules. I get *a lot* of requests for port 22. Look in /etc/ssh/sshd_config You can specify the port there, it's the first option which is commented out. > > How does one switch ssh ports? What is a good port to use? What > ramifications does it have when I need to ssh in? Is it as simple as > ssh u...@hots:port? > To specify another port you need to use ssh -p X -l whateveruse IP I don't think there are any ramifications/disadvantages of running the SSH daemon on a non standard port. > Best, > -ML > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
On 24/10/2009, at 11:40 PM, Miguel Medalha wrote: > >> How does one switch ssh ports? What is a good port to use? What >> ramifications does it have when I need to ssh in? Is it as simple as >> ssh u...@hots:port? >> > > In /etc/ssh/sshd_config replace "port 22" with "port port > (> 1024) you like>" > > Then configure your ssh clients accordingly. > > I was having my logs filled with *literally* hundreds of connection > attempts to port 22 every single day. Since I moved ssh to another > port > that stopped. I don't know if it is viable in your case but using /etc/hosts.allow and deny helps if you know what IPs are going to need SSH access. > > Also, disable password authentication and use public/private key pairs > as certification. > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.4 DVD
There has something useful for you: The CentOS 5.4 ISO DVD path is: DVD: http://mirror.centos.org/centos/5.4/isos/i386/CentOS-5.4-i386-bin-DVD.torrent http://mirror.centos.org/centos/5.4/isos/x86_64/CentOS-5.4-x86_64-bin-DVD.torrent Hope it would help you~~~ On Fri, Oct 23, 2009 at 11:07 PM, wrote: > I admit I wasn't following the screaming and yelling about 5.4, so excuse > me if this has been answered > > My boss tells me he wants me to start rolling out 5.4. I want to d/l & > burn a DVD... but when I looked at a number of mirrors, the .iso is from 1 > Oct, while the CD .iso's are from the 14th... yet 5.4 was officially > announced the other day. > > Am I missing something, or do the mirrors have a pre-release DVD .iso, > with no fixes in the last three weeks, or ...? > > mark > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
Change the port statement in /etc/ssh/sshd_config and restart sshd Alternatively, you can make a port direction on your firewall, say, from TCP port 1234 to internal IP 22. Then, you don't need to change the server config. My 2 cents. Stephen WONG @ Hong Kong On Sat, Oct 24, 2009 at 9:23 PM, Oliver Ransom wrote: > > On 24/10/2009, at 11:40 PM, Miguel Medalha wrote: > >> >>> How does one switch ssh ports? What is a good port to use? What >>> ramifications does it have when I need to ssh in? Is it as simple as >>> ssh u...@hots:port? >>> >> >> In /etc/ssh/sshd_config replace "port 22" with "port > port >> (> 1024) you like>" >> >> Then configure your ssh clients accordingly. >> >> I was having my logs filled with *literally* hundreds of connection >> attempts to port 22 every single day. Since I moved ssh to another >> port >> that stopped. > > I don't know if it is viable in your case but using /etc/hosts.allow > and deny helps if you know what IPs are going to need SSH access. > >> >> Also, disable password authentication and use public/private key pairs >> as certification. >> >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.4 DVD
David Suhendrik wrote: > Still waiting for DVD 5.4 64 bit There's a couple of mirrors that have it. I looked through several .edu site - I think RIT had one. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
ML wrote: > HI All, > > With my new firewall in place, it has opened my eyes to how much > traffic gets blocked in a single day and also what are the most active > rules. I get *a lot* of requests for port 22. > > How does one switch ssh ports? What is a good port to use? What > ramifications does it have when I need to ssh in? Is it as simple as > ssh u...@hots:port? > Pretty much everything you need to know about SSH is on the Wiki here: http://wiki.centos.org/HowTos/Network/SecuringSSH Why don't people use the Wiki? These same topics come up over and over again, and no one ever refers to the resources available on the Wiki? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Turning off X-Windows
ML wrote: > Hi All, > > How does one best turn of X-Windows? I dont need it, ssh works just > fine for me. Not sure what you mean. You could edit /etc/inittab, and have your system run at runlevel 3, rather than 5. Or you could uninstall Xorg. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading CentOS 5.3 from local mirror
Do you mean upgrade the CentOS from the ISO? On Fri, Oct 23, 2009 at 5:24 AM, Jonathan Moore wrote: > Good afternoon folks. > > Earlier today, I started upgrading a few of our servers to 5.4 based > on input from the list. So far, all has gone well. I have about 6 > servers (not very many, but still) that need to be upgraded. Instead > of taking precious bits from the mirrors for each upgrade, I was > curious if I could rsync the 5.4 directory from a local mirror, and > configure yum to use that repo, if it would upgrade without issues? > > Would I need anything other than the 5.4 folders to do the upgrade? > > -jonathan > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
>> How does one switch ssh ports? What is a good port to use? What >> ramifications does it have when I need to ssh in? Is it as simple as >> ssh u...@hots:port? >> > > In /etc/ssh/sshd_config replace "port 22" with "port port > (> 1024) you like>" > > Then configure your ssh clients accordingly. So I added Port 2977 Under Host * So I have: Host * Port 2977 I rebooted and I get a connection refused now when I try to connect. I am doing: ssh -p 2977 u...@ip I must have missed something. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
> Pretty much everything you need to know about SSH is on the Wiki here: > > http://wiki.centos.org/HowTos/Network/SecuringSSH > > Why don't people use the Wiki? These same topics come up over and over > again, and no one ever refers to the resources available on the Wiki? I dont think it is well advertised. I dont ever recall to look there. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
Stephen Wong wrote: > Change the port statement in /etc/ssh/sshd_config and restart sshd > > Alternatively, you can make a port direction on your firewall, say, > from TCP port 1234 to internal IP 22. Then, you don't need to change > the server config. One thing to consider: an attacker with a clue will scan your system with something like nmap, and find whatever port you've opened for it. Btw, you *have* made sure that only protocol 2 is enabled for ssh, right? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
One more thing - you might want to look at authfail. After a number of attempts to log in, it will add firewall rules to block that IP address. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
Ned, > Pretty much everything you need to know about SSH is on the Wiki here: > > http://wiki.centos.org/HowTos/Network/SecuringSSH > > Why don't people use the Wiki? These same topics come up over and over > again, and no one ever refers to the resources available on the Wiki? Thanks for the link, this should help me create public/private keys too! -ML ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
Mark, > One more thing - you might want to look at authfail. After a number > of attempts > to log in, it will add firewall rules to block that IP address. Thanks for the advice! I will google it. -ML ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
ML wrote: >>> How does one switch ssh ports? What is a good port to use? What >>> ramifications does it have when I need to ssh in? Is it as simple as >>> ssh u...@hots:port? >>> >> In /etc/ssh/sshd_config replace "port 22" with "port > port >> (> 1024) you like>" >> >> Then configure your ssh clients accordingly. > > So I added Port 2977 Under Host * > > So I have: > Host * > Port 2977 > > I rebooted and I get a connection refused now when I try to connect. > > I am doing: ssh -p 2977 u...@ip > > I must have missed something. Check your firewall rules. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
On 25/10/2009, at 12:10 AM, ML wrote: > >>> How does one switch ssh ports? What is a good port to use? What >>> ramifications does it have when I need to ssh in? Is it as simple as >>> ssh u...@hots:port? >>> >> >> In /etc/ssh/sshd_config replace "port 22" with "port > port >> (> 1024) you like>" >> >> Then configure your ssh clients accordingly. > > So I added Port 2977 Under Host * > > So I have: > Host * > Port 2977 > > I rebooted and I get a connection refused now when I try to connect. > > I am doing: ssh -p 2977 u...@ip Try ssh -p 2977 -l user IP Not u...@ip > > I must have missed something. > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
>>> In /etc/ssh/sshd_config replace "port 22" with "port >> port >>> (> 1024) you like>" >>> >>> Then configure your ssh clients accordingly. >> >> So I added Port 2977 Under Host * >> >> So I have: >> Host * >> Port 2977 >> >> I rebooted and I get a connection refused now when I try to connect. >> >> I am doing: ssh -p 2977 u...@ip My firewall is set to allow 2977. Just for shits I changed this to 29770 I ran: system-config-securitylevel-tui and customized and added 29770:tcp to other ports I then: nano /etc/ssh/ssh_config and said Port 29770 So that I have: Host * Port 29770 Protocol 2 I then did: service sshd restart and I still get connection refused. Comment out Port 29770 and all is well again. -ML ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
As mentioned previously, requiring certificates, and not allowing interactive logins, is safest. But even if you decide to allow interactive logins, there are things you SHOULD do. Disable admin/root login. Update sshd so that only named users can login via SSH, all other users that might be on the system cannot login. Require SSH 2 as mentioned in another email. it probably helps too if the named user isn't a "common" name, like mark, etc, like I've seen in logs when I've perused them. Running firewall tools that block IP addresses with several failed attempts. And, of course, a strong password. I've never setup certificates for my private, personal, use to my box. But I've disabled root login, only 1 account can connect, ssh2 is required, I don't use a "common" name,. An I have a strong password. On Oct 24, 2009, at 7:56 AM, ML wrote: > HI All, > > With my new firewall in place, it has opened my eyes to how much > traffic gets blocked in a single day and also what are the most active > rules. I get *a lot* of requests for port 22. > > How does one switch ssh ports? What is a good port to use? What > ramifications does it have when I need to ssh in? Is it as simple as > ssh u...@hots:port? > > Best, > -ML > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] FYI: centos 5.4 and xen not working
hi, i just let you know that xen not working properly in centos 5.4 there are upstream fix for this, but for those who use xen it's better to wait until centos release updates for 5.4 otherwise xen's domU won't start. -- Levente "Si vis pacem para bellum!" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
On Sat, 2009-10-24 at 07:17 -0700, ML wrote: > >>> In /etc/ssh/sshd_config replace "port 22" with "port >>> port > >>> (> 1024) you like>" > >>> > >>> Then configure your ssh clients accordingly. > >> > >> So I added Port 2977 Under Host * > >> > >> So I have: > >> Host * > >> Port 2977 > >> > >> I rebooted and I get a connection refused now when I try to connect. > >> > >> I am doing: ssh -p 2977 u...@ip > > My firewall is set to allow 2977. > > Just for shits I changed this to 29770 > > I ran: system-config-securitylevel-tui and customized and added > 29770:tcp to other ports > > I then: nano /etc/ssh/ssh_config and said Port 29770 > > So that I have: > Host * > Port 29770 > Protocol 2 > > I then did: service sshd restart > > and I still get connection refused. Comment out Port 29770 and all is > well again. Have you restarted the ssh daemon after changing the config file? Also, have you restarted the iptables service after changing the firewall rules? signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
> > > > I then did: service sshd restart > > > > > > Have you restarted the ssh daemon after changing the config file? > Ooops, I really need to not post to the mailing list when I am tired. My second question still stands, Also, have you run nmap on your host to verify that the port is open? > Also, have you restarted the iptables service after changing the > firewall rules? signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
>>> I then did: service sshd restart >>> >>> >> > > >> Have you restarted the ssh daemon after changing the config file? >> > > Ooops, I really need to not post to the mailing list when I am tired. > > My second question still stands, Also, have you run nmap on your > host to > verify that the port is open? No, but I might be a dork. I was editing /etc/ssh/ssh_config and it looks like I wanted to edit / etc/ssh/sshd_config. I dont know if now I should put ssh_config back to its defaults or not. I need to query that. >> Also, have you restarted the iptables service after changing the >> firewall rules? I restarted the whole server actually. -ML ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: centos 5.4 and xen not working
On 10/24/2009 07:43 AM, Farkas Levente wrote: > i just let you know that xen not working properly in centos 5.4 there > are upstream fix for this, but for those who use xen it's better to wait > until centos release updates for 5.4 otherwise xen's domU won't start. > I think I saw the issue you're referring to. Does it affect 5.4 domU in older dom0's? I updated a VM and its host yesterday. The domU didn't start until I'd finished the upgrade on dom0. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: centos 5.4 and xen not working
On 10/24/2009 06:55 PM, Gordon Messmer wrote: > On 10/24/2009 07:43 AM, Farkas Levente wrote: >> i just let you know that xen not working properly in centos 5.4 there >> are upstream fix for this, but for those who use xen it's better to wait >> until centos release updates for 5.4 otherwise xen's domU won't start. >> > > I think I saw the issue you're referring to. Does it affect 5.4 domU in > older dom0's? I updated a VM and its host yesterday. The domU didn't > start until I'd finished the upgrade on dom0. have to update to the latest upstream xen packages on dom0. -- Levente "Si vis pacem para bellum!" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FYI: centos 5.4 and xen not working
Gordon Messmer wrote: > On 10/24/2009 07:43 AM, Farkas Levente wrote: > >> i just let you know that xen not working properly in centos 5.4 there >> are upstream fix for this, but for those who use xen it's better to wait >> until centos release updates for 5.4 otherwise xen's domU won't start. >> >> > > I think I saw the issue you're referring to. Does it affect 5.4 domU in > older dom0's? I updated a VM and its host yesterday. The domU didn't > start until I'd finished the upgrade on dom0. > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Are you thinking of RHSA-2009:1472-1? Comparison point, upgraded several domU's on a box to 5.4 and halted/created them with no boot issue. Upgraded the dom0 later to 5.4 and also had no restart problems. So I have a couple of dom0's running a mix of 5.3 and 5.4 domU's (x86_64 and i386) with no problems. The bug report does say, "domU sometimes fails to reboot," so looks to be a circumstantial issue, not a definite one. -Alan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] kvm package difference - v36 via yum, v83 via DVD
Hi! As far as I can see there is no kvm in the base repository but the older version 36 in CentOS-Extras. Version 83 that belongs to 5.4 is only found on the install DVD and CD-Set. So it's different when installing kvm later with yum which results in kvm-36 than choosing 'Virtualization' on DVD install that installs kvm-83. It's also a difference between installing from network and DVD, even when the same Kickstart file is used when kvm is selected. What is the reason of the base-repo/media difference? cheers, Brian. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kvm package difference - v36 via yum, v83 via DVD
On Sat, Oct 24, 2009 at 11:22 AM, Brian Schueler wrote: > Hi! > > As far as I can see there is no kvm in the base repository but > the older version 36 in CentOS-Extras. Version 83 that belongs > to 5.4 is only found on the install DVD and CD-Set. > So it's different when installing kvm later with yum which results > in kvm-36 than choosing 'Virtualization' on DVD install that > installs kvm-83. > It's also a difference between installing from network and DVD, > even when the same Kickstart file is used when kvm is selected. > > What is the reason of the base-repo/media difference? I do see kvm and related packages on the mirror sites. By the way kvm is available for x86_64 only (upstream). Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
On 24-Oct-2009 Oliver Ransom wrote: > I don't think there are any ramifications/disadvantages of running the > SSH daemon on a non standard port. Running sshd on a non-standard port is highly useful ; I always have 2 seperate sshd instances. One on 22 and one on 222. This way, if I muck up an sshd upgrade, or config change, I can always get in through the other instance on 222. It is important to keep the 2 instances seperate, with serperate startup scripts and binaries (as in, cp /sbin/sshd /sbin/sshd222) -Philip ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
On Sat, 24 Oct 2009, Philip Gwyn wrote: > On 24-Oct-2009 Oliver Ransom wrote: >> I don't think there are any ramifications/disadvantages of running the >> SSH daemon on a non standard port. Unless I want to sftp. It always looks for port 22; if I do: sftp SERVER It will deny me if SERVER is anything but port 22. Doing a man sftp yields no help on how to solve that. Any ideas? *** Gilbert Sebenste (My opinions only!) ** *** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
2009/10/24 Gilbert Sebenste : > It will deny me if SERVER is anything but port 22. Doing a man sftp yields > no help on how to solve that. Any ideas? >From memory, try -o Port=222 Ben ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Upgrading CentOS 5.3 to 5.4 errors
Hello, I thought I'd wait a little while before upgrading to 5.4, but am running into the following errors: -> Finished Dependency Resolution lvm2-2.02.46-8.el5.i386 from base has depsolving problems --> Missing Dependency: device-mapper >= 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) mkinitrd-5.1.19.6-54.i386 from base has depsolving problems --> Missing Dependency: device-mapper-multipath >= 0.4.7-9 is needed by package mkinitrd-5.1.19.6-54.i386 (base) lvm2-2.02.46-8.el5.i386 from base has depsolving problems --> Missing Dependency: device-mapper-event is needed by package lvm2-2.02.46-8.el5.i386 (base) Error: Missing Dependency: device-mapper-multipath >= 0.4.7-9 is needed by package mkinitrd-5.1.19.6-54.i386 (base) Error: Missing Dependency: device-mapper-event is needed by package lvm2-2.02.46-8.el5.i386 (base) Error: Missing Dependency: device-mapper >= 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) It would appear that these packages do exist, although earlier versions: # rpm -q device-mapper device-mapper-1.02.13-1.el5 Any thoughts would be appreaicated. Regards, Rohan. -- Ruadhán Gillecroisd (Rohan Gilchrist) 07780 675 038 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running SSH on a different port
On Sat, 24 Oct 2009, Benjamin Donnachie wrote: > 2009/10/24 Gilbert Sebenste : >> It will deny me if SERVER is anything but port 22. Doing a man sftp yields >> no help on how to solve that. Any ideas? > >> From memory, try -o Port=222 > > Ben Thanks to all who responded. That's what I was looking for! *** Gilbert Sebenste (My opinions only!) ** *** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading CentOS 5.3 from local mirror
On 10/23/2009 06:10 PM, Jonathan Moore wrote: > > What I was really looking for was a little more detail on exactly what > I *must* have from the mirror to successfully upgrade. > If you want to download the minimum number of packages, the easiest answer is: use a proxy server. export http_proxy=http://proxy.foo.com: yum upgrade Or, if you have some type of shared storage (NFS, perhaps), you can configure yum to keep its cache directory there. Configure all of your systems to use the same cache directory and to keep cache. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading CentOS 5.3 to 5.4 errors
Rohan Gilchrist wrote: > Hello, > > I thought I'd wait a little while before upgrading to 5.4, but am > running into the following errors: > > -> Finished Dependency Resolution > lvm2-2.02.46-8.el5.i386 from base has depsolving problems > --> Missing Dependency: device-mapper >= 1.02.32-1 is needed by > package lvm2-2.02.46-8.el5.i386 (base) > mkinitrd-5.1.19.6-54.i386 from base has depsolving problems > --> Missing Dependency: device-mapper-multipath >= 0.4.7-9 is needed > by package mkinitrd-5.1.19.6-54.i386 (base) > lvm2-2.02.46-8.el5.i386 from base has depsolving problems > --> Missing Dependency: device-mapper-event is needed by package > lvm2-2.02.46-8.el5.i386 (base) > Error: Missing Dependency: device-mapper-multipath >= 0.4.7-9 is needed > by package mkinitrd-5.1.19.6-54.i386 (base) > Error: Missing Dependency: device-mapper-event is needed by package > lvm2-2.02.46-8.el5.i386 (base) > Error: Missing Dependency: device-mapper >= 1.02.32-1 is needed by > package lvm2-2.02.46-8.el5.i386 (base) > > It would appear that these packages do exist, although earlier versions: > > # rpm -q device-mapper > device-mapper-1.02.13-1.el5 > > Any thoughts would be appreaicated. > > Regards, > > Rohan. > 1. Did you follow the procedure in the 5.4 Release Notes (repeated in the release announcement)? 2. Perhaps the repo(s) you're using is/are broken. My DVD contains (among otherstuf) lvm2-2.02.46-8.el5.i386.rpm and device-mapper-1.02.13.1.el5.i386.rpm so that that particular dependency would be resolved easily enough. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading CentOS 5.3 to 5.4 errors
Robert wrote: > 1. Did you follow the procedure in the 5.4 Release Notes (repeated in > the release announcement)? See, this is a problem I shouldn't have to know about special procedures in release notes to be able to do `yum update` at any arbitrary time what about users who aren't even on these lists? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos