Mar. 2nd, 2013

oio11: (Фея)
Оригинал взят у [livejournal.com profile] tollik13 в А давайте Артёма в президенты?
Оригинал взят у [livejournal.com profile] olga_al в Сенсационное заявление Артёма Тарасова (2013)
Нет , я серьёзно! Посмотрите видео . Подумайте. Я вижу много достоинств у этого человека, но самое главное из них то , что воровать ему совершенно незачем. Это вам не нищебродский, выковыренный из очка Собчака подполковник путен.
oio11: (Default)
Sub-Process /usr/bin/dpkg returned an error code (1)

...After you get that error, try apt-get -f install to force an install of the files that didn't get loaded because of the error. Then try apt-get upgrade again, apt-get -f install back and forth until only the package that has the error is left...

...feral-deb
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 1
 
I had a similar problem and what i found that worked for me was going into

/var/lib/dpkg/info   and deleting everything that had that name and you may also have to go into

/var/cache/apt/archives   and do the same thing. I'm fairly new to linux so if this breaks anything i am sorry. i haven't run into any problems yet that this has caused....



http://www.linuxquestions.org/questions/debian-26/sub-process-usr-bin-dpkg-returned-an-error-code-1-a-171107/
oio11: (Default)
Sub-Process /usr/bin/dpkg returned an error code (1)

...After you get that error, try apt-get -f install to force an install of the files that didn't get loaded because of the error. Then try apt-get upgrade again, apt-get -f install back and forth until only the package that has the error is left...

...feral-deb
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 1
 
I had a similar problem and what i found that worked for me was going into

/var/lib/dpkg/info   and deleting everything that had that name and you may also have to go into

/var/cache/apt/archives   and do the same thing. I'm fairly new to linux so if this breaks anything i am sorry. i haven't run into any problems yet that this has caused....



http://www.linuxquestions.org/questions/debian-26/sub-process-usr-bin-dpkg-returned-an-error-code-1-a-171107/
oio11: (Default)
Nov 082007
 
  •  
  •  
  •  
 
ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network. X11 connections and arbitrary TCP ports can also be forwarded over the secure channel.

We all know, by default installation of openssh daemon service (sshd), it binds itself to all existing IP address from given host.

Alternatively, if you wish to bind sshd service to selected IP address, this is possible by simply editing /etc/ssh/sshd_config file.

First, always make a backup copy of conf files you wish to edit.

# cp /etc/ssh/sshd_config /etc/ssh/sshd_config.backup

Launch your fave text editor and edit /etc/ssh/sshd_config

#vi /etc/ssh/sshd_config

Go to specific lines that shows

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ListenAddress *
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you wish to bind ssh to existing 2 IP address, let's say 192.168.1.5 and 192.168.1.7 , this could be done by changing the above sshd_config lines to

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ListenAddress 192.168.1.5
ListenAddress 192.168.1.7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and Restart sshd daemon using the following command

# service sshd restart

(((   # service ssh restart  )))

One applicable instance that his can be useful is that when you have a group of ssh users and there are times you need to disconnect all those currently logged in ssh users except your own remote ssh connections. This can be simply done by shutting down the other interface from where those ssh users are currently connected. And ofcourse, you need to be currently connected with the other interface before shutting down the other interface or IP address.

http://www.debianadmin.com/howto-bind-ssh-to-selected-ip-address.html

October 2025

S M T W T F S
   1234
567891011
12131415161718
19202122 232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 11th, 2025 07:27 am
Powered by Dreamwidth Studios