Command 1 (Only temporarily until restart):
$ sudo hostname remote
Command 2 (Permanent):
$ sudo vi /etc/hostname
$ cat /etc/hostname
remote
#old-host-name
$ sudo vi /etc/hosts
$ cat /etc/hosts
#127.0.0.1 old-host-name
127.0.0.1 remote
xxx.xxx.xxx.xxx xxx-xxx-xxxxx.vs.sakura.ne.jp xxx-xxx-xxxxx
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters